RE : AW: RE : AW: how to retrieve ant command line arguments on LINUX

2006-12-05 Thread Bernard LUPIN
le for test? > Maybe we can change that ... > > Jan > > >-Ursprüngliche Nachricht- > >Von: Bernard LUPIN [mailto:[EMAIL PROTECTED] > >Gesendet: Montag, 4. Dezember 2006 17:22 > >An: Ant Users List > >Betreff: RE : AW: how to retrieve ant command lin

Re: RE : AW: how to retrieve ant command line arguments on LINUX

2006-12-04 Thread Dominique Devienne
On 12/4/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Could you change the ant-script and export the variable for test? Maybe we can change that ... If we do this, we should be doing it in Launcher.java, not the .bat or .sh or .py or whatever else scripts, IMHO. --DD ---

AW: RE : AW: how to retrieve ant command line arguments on LINUX

2006-12-04 Thread Jan.Materne
Could you change the ant-script and export the variable for test? Maybe we can change that ... Jan >-Ursprüngliche Nachricht- >Von: Bernard LUPIN [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 4. Dezember 2006 17:22 >An: Ant Users List >Betreff: RE : AW: how to retrieve a

RE : AW: how to retrieve ant command line arguments on LINUX

2006-12-04 Thread Bernard LUPIN
Thank you for this advice. Unfortunately, the ant_exec_args is not exported, so it does not appear in the environment properties. I've made a diff beetween the output of using "ant" and "ant -verbose". With this way, I've found the ANT_CMD_LINE_ARGS under windows. But under linux, there are no ad

AW: how to retrieve ant command line arguments on LINUX

2006-12-04 Thread Jan.Materne
On Windows the ANT_CMD_LINE_ARGS environment variable is set by the launcher script bin\ant.bat. So the equivalent would be found in the unix launcher: bin/ant bin/ant:0024: for arg in "$@" ; do bin/ant:0031: elif [ my"$arg" = my"--h" -o my"$arg" = my"--help" ] ; then bin/ant:0032: show_h