ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject RE: Passing command line args to javac
Date Tue, 12 Dec 2000 06:40:19 GMT
At 12:56  12/12/00 -0500, Michael Farmer wrote:
>I had to abandon the <javac> tag and do it directory with <exec> (or
><execon> if required).
>There may be a better solution, if so, I would like to hear it...

Set the ANT_OPTS variable before executing ant to give ant a bucketload of
memory which will be inherited by javac.

ie. set ANT_OPTS=-J-XmsXXm



Cheers,

Pete

*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |
*-----------------------------------------------------*


Mime
View raw message