--- Alan George <[EMAIL PROTECTED]> wrote:
> Roger Vaughn wrote:
>
> > An if/unless uber-task would eliminate the need
> for
> > this, but since Ant doesn't (yet?) support nested
> > tasks, could be difficult to implement.
> >
>
> I'm not sure what you mean above, but the below
> patch implements an
> if/unless for everything that 'isa' Task.
>
> -alan
Not that it matters, but this was what I meant:
<target name="t1">
<if name="some.property">
<task1>
<task2>
</if>
</target>
I seriously doubt we'll ever see (need?) nested tasks,
so I don't expect this to happen. But since it was so
easy to write the patch, I don't see why it's a big
issue.
How about it folks? It doesn't break your current
scripts or change the way you work, and you don't have
to use it if you don't want it, so why not include it?
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/