ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: A question about "available" and doing conditionals in a build xml file.
Date Mon, 19 Jun 2000 07:03:22 GMT
>>>>> "JDD" == James Duncan Davidson <> writes:

 JDD> Nit: properties aren't tasks

Somebody should change docs/index.html#tasks then ;-)

 JDD> on 5/18/00 2:18 AM, Stefan Bodewig at wrote:

 >> Most (all?) people involved agree that some way of conditional
 >> compilation - or more generally conditional task execution - is
 >> needed, but there are different opinions about how to do this.

 JDD> I still think that conditional compilation can be handled inside
 JDD> the javac task. :)

If you're talking about include/exclude tags I'm almost convinced they
are sufficient - this means that my projects get along with them quite
well without a need for further logic support from Ant. 

What I still really need is a way to specify the include/exclude lists
in an external file to get build files that are more readable.

This doesn't help with the more general problem of conditional task
execution. I get away with conditional target execution (and have
added an unless attribute to target in my private version of Ant).


View raw message