nicolaken    2003/01/10 03:01:29

  Modified:    tools/src blocks-build.xsl
  Log:
  Set fork=true to the javac task for the blocks.
  This lowers the memory need for the build.
  Before the memory used to build each block was not released by Ant, and kept 
building up till the build failed.
  Now after each block build, memory is released.
  
  Revision  Changes    Path
  1.16      +4 -2      xml-cocoon2/tools/src/blocks-build.xsl
  
  Index: blocks-build.xsl
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/tools/src/blocks-build.xsl,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- blocks-build.xsl  2 Jan 2003 10:50:08 -0000       1.15
  +++ blocks-build.xsl  10 Jan 2003 11:01:29 -0000      1.16
  @@ -115,7 +115,8 @@
               <xsl:attribute name="deprecation">${deprecation}</xsl:attribute>
               <xsl:attribute name="target">${target.vm}</xsl:attribute>
               <xsl:attribute name="nowarn">${nowarn}</xsl:attribute>
  -
  +            <xsl:attribute name="fork">true</xsl:attribute>
  +            
               <classpath refid="currentblock.classpath" />
            </javac>
            
  @@ -275,7 +276,8 @@
               <xsl:attribute name="deprecation">${deprecation}</xsl:attribute>
               <xsl:attribute name="target">${target.vm}</xsl:attribute>
               <xsl:attribute name="nowarn">${nowarn}</xsl:attribute>
  -
  +            <xsl:attribute name="fork">true</xsl:attribute>
  +            
               <classpath refid="currentblock.classpath" />
            </javac>
   
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to