ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jakob Fix" <jakob....@gmail.com>
Subject command line target available from inside build script?
Date Tue, 28 Feb 2006 15:09:25 GMT
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