For modifying only the build.sh script just add the args to the line...

$JAVA -classpath $CLASSPATH -Dant.home=lib org.apache.tools.ant.Main "$@" -buildfile build.xml

so it will look like:

$JAVA -Xmx128m -Xss128m -classpath $CLASSPATH -Dant.home=lib org.apache.tools.ant.Main "$@" -buildfile build.xml

For a more general solution for ant... the ant shell script distributed with ant (no idea how the hacked ant which Redhat distributes works) looks for an ANT_OPTS environment variable and places anything there on the "java ... " command line used to invoke ant

-Brian


On Wednesday, October 15, 2003, at 10:32 AM, Taillefer, Troy (EXP) wrote:


Hi all,

I am unfamilar with Ant
I have question about build.sh junit, I know it uses Ant and reads build.xml makefile is there anyway I could pass
command line arguments -Xmx128m -Xss128m to the java command what modification would I have to make to build.xml ?
Thanks.



Troy



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





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



Reply via email to