ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: conditional "arg"
Date Tue, 18 Aug 2009 03:30:48 GMT
On 2009-08-17, Blaine Simpson <> wrote:

> Stefan Bodewig wrote:

>> Given that you say you have to create conditional targets over and over
>> again and I have not encountered a situation where I had needed a
>> conditional arg (we seem to be Ant users for about the same time) - in
>> what situation do you need these kinds of conditional <arg> elements?

> Maybe you live in an IDE world.


You are not trying to insult me, are you?  Sorry if I provoked this in
some way, it was not intended, I was and am really curious.

We obviously take different approaches.  If I had to use the same
command with differing command line switches many times I'd write a task
to wrap it - I did so for quite a few of them, I think the first one was
<patch> which ended up in Ant's CVS repository.

You sounded as if you had to do it for many different commands which
doesn't match my experience and I wanted to understand yours.  

The question may have better been "why does adding conditional
attributes to arg make your live that much easier as opposed to - for
example - adding it to Task itself".

I am in no way opposed to adding if/unless to arg, but need to be
convinced it would really help much.

> Only answering here to satisfy your curiosity.  I don't have time to
> submit patches which will never see the light of day.

Fair enough.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message