brett       2004/05/07 17:57:44

  Modified:    java     plugin.jelly
               java/xdocs changes.xml properties.xml
  Log:
  PR: MPJAVA-1
  Submitted by: Scott Foster
  add memory attributes to pass to javac task
  
  Revision  Changes    Path
  1.26      +10 -0     maven-plugins/java/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  RCS file: /home/cvs/maven-plugins/java/plugin.jelly,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- plugin.jelly      25 Mar 2004 05:43:19 -0000      1.25
  +++ plugin.jelly      8 May 2004 00:57:44 -0000       1.26
  @@ -91,6 +91,15 @@
             
             <j:if test="${context.getVariable('maven.compile.fork') != null}">
               <ant:setProperty name="fork" value="${maven.compile.fork}" />
  +
  +            <j:if test="${context.getVariable('maven.compile.memoryInitialSize') != 
null}">
  +              <ant:setProperty name="memoryInitialSize" 
value="${maven.compile.memoryInitialSize}" />
  +            </j:if>
  +
  +            <j:if test="${context.getVariable('maven.compile.memoryMaximumSize') != 
null}">
  +              <ant:setProperty name="memoryMaximumSize" 
value="${maven.compile.memoryMaximumSize}" />
  +            </j:if>
  +
             </j:if>
             
             <j:if test="${context.getVariable('maven.compile.source') != null}">
  @@ -100,6 +109,7 @@
             <j:if test="${context.getVariable('maven.compile.verbose') != null}">
               <ant:setProperty name="verbose" value="${maven.compile.verbose}" />
             </j:if>
  +
   
           </ant:javac>
         </j:when>
  
  
  
  1.9       +1 -0      maven-plugins/java/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/maven-plugins/java/xdocs/changes.xml,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- changes.xml       30 Apr 2004 14:38:42 -0000      1.8
  +++ changes.xml       8 May 2004 00:57:44 -0000       1.9
  @@ -27,6 +27,7 @@
     <body>
       
       <release version="1.4-SNAPSHOT" date="in CVS">
  +      <action dev="brett" type="fix" issue="MPJAVA-1" due-to="Scott Foster">Add 
memory usage parameters to pass to the ant javac task</action>
         <action dev="brett" type="fix">Add source property, default to 1.3. This is 
required to use JDK 1.5.</action>
       </release>
   
  
  
  
  1.11      +30 -0     maven-plugins/java/xdocs/properties.xml
  
  Index: properties.xml
  ===================================================================
  RCS file: /home/cvs/maven-plugins/java/xdocs/properties.xml,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- properties.xml    25 Mar 2004 05:43:19 -0000      1.10
  +++ properties.xml    8 May 2004 00:57:44 -0000       1.11
  @@ -117,6 +117,36 @@
             </td>
           </tr>
           <tr>
  +          <td>maven.compile.memoryInitialSize</td>
  +          <td>Yes</td>
  +          <td>
  +            <p>
  +              Sets the initial memory size value passed to the VM when fork is set 
to true.
  +              Has no effect if fork is false.
  +            </p>
  +            <p>
  +              Corresponds to the <code>memoryInitialSize</code> attribute for the 
ant 
  +              <a href="http://ant.apache.org/manual/CoreTasks/javac.html";>javac</a>
  +              task.
  +            </p>
  +          </td>
  +        </tr>
  +        <tr>
  +          <td>maven.compile.memoryMaximumSize</td>
  +          <td>Yes</td>
  +          <td>
  +            <p>
  +              Sets the maximum memory size value passed to the VM when fork is set 
to true.
  +              Has no effect if fork is false.
  +            </p>
  +            <p>
  +              Corresponds to the <code>memoryMaximumSize</code> attribute for the 
ant 
  +              <a href="http://ant.apache.org/manual/CoreTasks/javac.html";>javac</a>
  +              task.
  +            </p>
  +          </td>
  +        </tr>
  +        <tr>
             <td>maven.compile.optimize</td>
             <td>Yes</td>
             <td>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to