ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiron Menon" <hir...@metapa.net>
Subject Re: -J option <javac> task question
Date Wed, 30 Apr 2003 00:04:42 GMT
Hi Nisha,

See if this link helps - The Environment Variable Section
http://ant.apache.org/manual/running.html

Regards,

Hiron Menon


----- Original Message -----
From: "Nisha Pillai" <npillai@teja.com>
To: "Ant Users List" <user@ant.apache.org>
Sent: Tuesday, April 29, 2003 4:54 PM
Subject: Re: -J option <javac> task question


> William,
>    Thanks for your input. This worked. But I'm looking for a way to just
> have my buildfile take care of everything required for compilation. Can
> I set ANT_OPTS from within the buildfile?
> - Nisha.
>
> Lopez, William wrote:
>
> >Nisha:
> >
> >...also you have the option of setting this property: ANT_OPTS=-Xmx128m.
> >
> >HTH
> >
> >-----Original Message-----
> >From: Stefan Bodewig [mailto:bodewig@apache.org]
> >Sent: Tuesday, April 29, 2003 1:20 AM
> >To: user@ant.apache.org
> >Subject: Re: -J option <javac> task question
> >
> >
> >On Mon, 28 Apr 2003, Nisha Pillai <npillai@teja.com> wrote:
> >
> >
> >
> >>Yes, I get an OutOfMemoryError.
> >>
> >>
> >
> >Run ant -debug and take a look at the javac command line Ant uses (it is
> >printed in the very long logfile you'll receive).  Does it contain
the -J-mx
> >setting you expect?
> >
> >Stefan
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> >For additional commands, e-mail: user-help@ant.apache.org
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> >For additional commands, e-mail: user-help@ant.apache.org
> >
> >
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>


Mime
View raw message