On Sat, 23 Feb 2002 20:50, Steve Loughran wrote:
> One further thing I was debating doing, but want to get a reaction first,
> is to tweak it so that if the target is "" then we treat that the same as
> undefined, and execute the default.
-1
I know people who use it with antcalls as a fallback. At one stage some of
the Avalon build files also used it. I think it is an ugly hack but
unfortunately it is here to stay now ;(
> This leads to predecessor question. Should the empty string be a valid name
> for a target. I think not, if we agree then we can stop it, and then I
> could set <ant target=""> to mean default.
definetly for ant2.
> Does anyone use the empty string as target name in their build files?
yep :)
--
Cheers,
Pete
------------------------------------------------------
"If people are good only because they fear punishment,
and hope for reward, then we are a sorry lot indeed."
-Albert Einstein
------------------------------------------------------
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>