Jan,

On 2/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I guess you havent searched yet?

sure I did. however, searching for "property target available ant"
does not necessarily return a satisfying answer.

http://ant.apache.org/manual/using.html#built-in-props
doesn't list the target property or something similar ...

sorry for looking in the wrong places :-)

> Jan


> >-----Ursprüngliche Nachricht-----
> >Von: Jakob Fix [mailto:[EMAIL PROTECTED]
> >Gesendet: Dienstag, 28. Februar 2006 16:09
> >An: Ant Users List
> >Betreff: command line target available from inside build script?
> >
> >Hi,
> >
> >I was wondering whether the target given on the command line like this
> >
> >ant -f generic.build server
> >
> >(i.e. "server" in this example) is available from within the
> >ant script, like ${target}.  apparently, it's not ${target}
> >because otherwise I wouldn't have asked, I tried that, and
> >yes, the documentation keeps shtum as well.
> >
> >thanks in advance.
> >

--
cheers,
Jakob.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to