Hello !

I could not go around outOfMemory pbs using antcalls for recursive
build.xml - I tried 1.4, jikes and latest ANT beta - and so ended up
with the following:

        <java classname="org.apache.tools.ant.Main" fork="true">
           <arg line="-Dlog4j.configuration=log4j.properties -f
types/build.xml main"/>
           <classpath refid="ant.class.path" />
        </java>

also on all the generating tasks such as javac, xdoclet, xlst and so on.

-> having fork and classpath as defaults options in the base
org.apache.tools.ant.Task class so that when fork=true the task.execute
call is launched in another JVM would save some time and would always be
usefull.

wat's ur opinion ? thanx.

seb.

Reply via email to