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
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
---
uot; $ant_exec_args"
>> bin/ant:0323: if $ant_exec_debug ; then
>> bin/ant:0324: echo $ant_exec_command
>> bin/ant:0325: fi
>> bin/ant:0326: eval $ant_exec_command
>>
>>
>> So try "ant_exec_command".
>> I havent Linux, so let us know ;-)
>
_opts
> org.apache.tools.ant.launch.Launcher
> $ANT_ARGS -cp \"$CLASSPATH\" $ant_exec_args"
> bin/ant:0323: if $ant_exec_debug ; then
> bin/ant:0324: echo $ant_exec_command
> bin/ant:0325: fi
> bin/ant:0326: eval $ant_exec_command
>
>
> So try &quo
mand
So try "ant_exec_command".
I havent Linux, so let us know ;-)
Jan
>-Ursprüngliche Nachricht-
>Von: Bernard LUPIN [mailto:[EMAIL PROTECTED]
>Gesendet: Montag, 4. Dezember 2006 16:44
>An: user@ant.apache.org
>Betreff: how to retrieve ant command line argume
Hi all,
Is it possible to retrieve the ant command line
arguments (like -verbose, -quiet, ...) within an ant
task ?
On windows platforms, I've found that
env.ANT_CMD_LINE_ARGS contains all the ant arguments,
so I can parse them with the contrib's propertyregex
task.
But this don't work on my Linux