Had a similar issue and never got it resolved. I think if it can be done it
will have to be with the exec task calling javac.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 26, 2001 3:48 PM
To: [EMAIL PROTECTED]
Subject: Sending -J-mx128m to Javac Task


I am running ant 1.2 and I am trying to send a command line arg to it.
Specifically to increase memory heap size. Is this possible or am I going
to have to throw out the javac task and replace it with a exec task. Seems
to me this feature should be there for just this situation.

I have tried both nested tags arg and jvmarg and javac does not support
either for some reason.

Cheers,

Terrence

Reply via email to