ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastien BLANC <Sebastien.Bl...@alcatel.com>
Subject [change request] fork/classpath Task default options
Date Wed, 12 Feb 2003 22:58:58 GMT
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.


Mime
View raw message