ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: [PATCH] adds 'if'/'unless' to <antcall> (CallTarget.java)
Date Tue, 26 Nov 2002 16:14:45 GMT
On Tue, 26 Nov 2002, <MNewcomb@tacintel.com> wrote:
>> -----Original Message-----
>> From: Stefan Bodewig [mailto:bodewig@apache.org]
>> 
>> In the case of <antcall> I pretty much doubt it would be too useful
>> as you could always add the if/unless attributes to the target you
>> intend to call.
> 
> No, you can't really do that because if/unless tests for a
> properties existence.  How would you *not* pass a property using
> <param>?

inheritall="false"

> I see <antcall> allowing me to write certain repetitive tasks
> once-and-only-once.

IMHO writing a task to perform the "certain repetitive tasks" would be
better than using <antcall>.

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message