Try a nested <compilerarg value="-J-Xss1m"/> element under the javac task. 

More importantly, refactor that java class ASAP.

Scott Stirling
Framingham, MA 

> -----Original Message-----
> From: Wasserman Henry [mailto:[EMAIL PROTECTED]]
> 
> I am working on a build project that uses ant.  We
> have one very large .java file that is causing a
> compiler stackOverflow.  I have been able to prevent
> the stackOverflow by using javac -J-Xss1m to increase
> the stack size from the default 512k.  This is
> currently working outside of ant.
> 
> Does anyone know how incorporate this javac -J-Xss1m
> feature into ant?

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

Reply via email to