ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jakob Fix" <jakob....@gmail.com>
Subject Re: command line target available from inside build script?
Date Tue, 28 Feb 2006 15:22:38 GMT
Jan,

On 2/28/06, Jan.Materne@rzf.fin-nrw.de <Jan.Materne@rzf.fin-nrw.de> 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:jakob.fix@gmail.com]
> >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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message