Scotte Zinn <[EMAIL PROTECTED]> wrote:
> I came across a need for multiple properties to be checked with a
> target's if clause and it wasn't possible.
> Will Ant be extended to allow a comma-separated list of properties
> in the if/unless block similar to the depends clause?
I don't think Ant1 will be extended in any way to support this, but
for Ant2 we've settled on a task that's going to help a lot in
situations like this. Something like
<condition property="both.present">
<and>
<available file="A" />
<available file="B" />
</and>
</condition>
and then have target's if/unless attribute deal with the both.present
property.
Stefan