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
|