Forrest
  1. Forrest
  2. FOR-36

remove warning on the -site task

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.6
    • Fix Version/s: 0.5
    • Component/s: Compile
    • Labels:
      None

      Description

      after running forrest

      ..
      -site:
      ..
      The jvmargs attribute is deprecated. Please use nested jvmarg elements.
      ..

      The forrest.jvmargs seems empty

      on forrest.build.xml
      <property name="forrest.jvmargs" value="" />

      so it does not seem to be any reason to keep it.

      Cheers

      Cheche

        Activity

        Hide
        Jeff Turner added a comment -
        Fixed by using <jvmarg line="${forrest.jvmargs}"/>

        --Jeff
        Show
        Jeff Turner added a comment - Fixed by using <jvmarg line="${forrest.jvmargs}"/> --Jeff
        Hide
        Nick Chalko added a comment -
        <property name="forrest.maxmemory" value="64m" />
        Works for me.
        Show
        Nick Chalko added a comment - <property name="forrest.maxmemory" value="64m" /> Works for me.
        Hide
        Juan Jose Pablos added a comment -
        Nick,
        That was an example, what I am asking is this:

        Index: forrest.build.xml
        ===================================================================
        RCS file: /home/cvspublic/xml-forrest/src/resources/forrest-shbat/forrest.build.xml,v
        retrieving revision 1.67
        diff -r1.67 forrest.build.xml
        89d88
        < <property name="forrest.jvmargs" value="" />
        574d572
        < jvmargs="${forrest.jvmargs}">

        So there is not a warning on the build. There is already a maxmemory property on line 88:
        <property name="forrest.maxmemory" value="64m" />
        Show
        Juan Jose Pablos added a comment - Nick, That was an example, what I am asking is this: Index: forrest.build.xml =================================================================== RCS file: /home/cvspublic/xml-forrest/src/resources/forrest-shbat/forrest.build.xml,v retrieving revision 1.67 diff -r1.67 forrest.build.xml 89d88 < <property name="forrest.jvmargs" value="" /> 574d572 < jvmargs="${forrest.jvmargs}"> So there is not a warning on the build. There is already a maxmemory property on line 88: <property name="forrest.maxmemory" value="64m" />
        Hide
        Nick Chalko added a comment -
        <property name="forrest.jvm.MaxMemory" value="256m"

        <arg value="-Xmx${forrest.jvm.MaxMemory} "/>
        Show
        Nick Chalko added a comment - <property name="forrest.jvm.MaxMemory" value="256m" <arg value="-Xmx${forrest.jvm.MaxMemory} "/>
        Hide
        Juan Jose Pablos added a comment -
        so,
        what about adding this:

        <jvmarg
                  value="-Djava.endorsed.dirs=${forrest.home}/lib/endorsed${path.separator}${java.endorsed.dirs}"/>

                <arg value="-Xmx "/> <!-- Max Memory so Nick does not run out memory -->
        Show
        Juan Jose Pablos added a comment - so, what about adding this: <jvmarg           value="-Djava.endorsed.dirs=${forrest.home}/lib/endorsed${path.separator}${java.endorsed.dirs}"/>         <arg value="-Xmx "/> <!-- Max Memory so Nick does not run out memory -->
        Hide
        Nick Chalko added a comment -
        make that I use forrest.jvmamgs
        Show
        Nick Chalko added a comment - make that I use forrest.jvmamgs
        Hide
        Nick Chalko added a comment -
        I use the -jvmargs to set -Xmx the max heap size. Otherwise I run out of memory.
        Show
        Nick Chalko added a comment - I use the -jvmargs to set -Xmx the max heap size. Otherwise I run out of memory.

          People

          • Assignee:
            Unassigned
            Reporter:
            Juan Jose Pablos
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development