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:56:33 GMT
Steve,

> Ant doesnt set the name of the target. What happens if there is more
> than one target on the command line? What if you are being called from
> an outer build file that has different names? It wouldn't scale.

makes sense.

> use a property:
>
> ant -f generic.build -Dtarget=cdrom

yep, why not. or wrap another ant caller around it, as Jan suggested.

thanks.


--
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