Create the pre-batchfile in your home-directory and do the "set ANT_OPTS" there.
Jan > -----Ursprüngliche Nachricht----- > Von: vijay12345 [mailto:[EMAIL PROTECTED] > 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:[EMAIL PROTECTED] > >> 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: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]