You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by vijay12345 <vi...@sun.com> on 2008/04/21 13:35:37 UTC
Memory requirement
Is there any way of replacing the following 2 steps with just one step
$ set ANT_OPTS = -Xms128m -Xmx512m
$ ant run
as in by including this as one of the command line parameters or arguments
or something like that????
or maybe by writing a shell script which takes care of the job???
(allowing user to specify the memory req as needed)
Thanks in advance.
--
View this message in context: http://www.nabble.com/Memory-requirement-tp16807269p16807269.html
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
AW: AW: Memory requirement
Posted by Ja...@rzf.fin-nrw.de.
Create the pre-batchfile in your home-directory and do the "set ANT_OPTS" there.
Jan
> -----Ursprüngliche Nachricht-----
> Von: vijay12345 [mailto:vijay.vittal@sun.com]
> Gesendet: Dienstag, 22. April 2008 07:07
> An: user@ant.apache.org
> Betreff: Re: AW: Memory requirement
>
>
> can you please elaborate a bit more as to how i can go about
> doing that???
> Thanks,
> Vijay
>
>
> Jan.Materne wrote:
> >
> > You can use the pre/post-files described in
> > http://ant.apache.org/manual/running.html#files
> >
> > Jan
> >
> >> -----Ursprüngliche Nachricht-----
> >> Von: vijay12345 [mailto:vijay.vittal@sun.com]
> >> Gesendet: Montag, 21. April 2008 13:36
> >> An: user@ant.apache.org
> >> Betreff: Memory requirement
> >>
> >>
> >> Is there any way of replacing the following 2 steps with
> just one step
> >>
> >> $ set ANT_OPTS = -Xms128m -Xmx512m
> >> $ ant run
> >>
> >> as in by including this as one of the command line parameters
> >> or arguments
> >> or something like that????
> >> or maybe by writing a shell script which takes care of the job???
> >> (allowing user to specify the memory req as needed)
> >>
> >> Thanks in advance.
> >>
> >> --
> >> View this message in context:
> >> http://www.nabble.com/Memory-requirement-tp16807269p16807269.html
> >> Sent from the Ant - Users mailing list archive at Nabble.com.
> >>
> >>
> >>
> ---------------------------------------------------------------------
> >> 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
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Memory-requirement-tp16807269p16821771.html
> Sent from the Ant - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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
Re: AW: Memory requirement
Posted by vijay12345 <vi...@sun.com>.
can you please elaborate a bit more as to how i can go about doing that???
Thanks,
Vijay
Jan.Materne wrote:
>
> You can use the pre/post-files described in
> http://ant.apache.org/manual/running.html#files
>
> Jan
>
>> -----Ursprüngliche Nachricht-----
>> Von: vijay12345 [mailto:vijay.vittal@sun.com]
>> Gesendet: Montag, 21. April 2008 13:36
>> An: user@ant.apache.org
>> Betreff: Memory requirement
>>
>>
>> Is there any way of replacing the following 2 steps with just one step
>>
>> $ set ANT_OPTS = -Xms128m -Xmx512m
>> $ ant run
>>
>> as in by including this as one of the command line parameters
>> or arguments
>> or something like that????
>> or maybe by writing a shell script which takes care of the job???
>> (allowing user to specify the memory req as needed)
>>
>> Thanks in advance.
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Memory-requirement-tp16807269p16807269.html
>> Sent from the Ant - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> 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
>
>
>
--
View this message in context: http://www.nabble.com/Memory-requirement-tp16807269p16821771.html
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
AW: Memory requirement
Posted by Ja...@rzf.fin-nrw.de.
You can use the pre/post-files described in http://ant.apache.org/manual/running.html#files
Jan
> -----Ursprüngliche Nachricht-----
> Von: vijay12345 [mailto:vijay.vittal@sun.com]
> Gesendet: Montag, 21. April 2008 13:36
> An: user@ant.apache.org
> Betreff: Memory requirement
>
>
> Is there any way of replacing the following 2 steps with just one step
>
> $ set ANT_OPTS = -Xms128m -Xmx512m
> $ ant run
>
> as in by including this as one of the command line parameters
> or arguments
> or something like that????
> or maybe by writing a shell script which takes care of the job???
> (allowing user to specify the memory req as needed)
>
> Thanks in advance.
>
> --
> View this message in context:
> http://www.nabble.com/Memory-requirement-tp16807269p16807269.html
> Sent from the Ant - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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