Diane just posted this some time back:
Probably this is what you want
See message:
http://marc.theaimsgroup.com/?l=ant-user&m=98634558208888&w=2
in the user list archive.
-----Original Message-----
From: Dana Rice [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 26, 2001 3:32 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Sending -J-mx128m to Javac Task
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