In Ant 1.5.x, the Condition framework is not extensible without modifying Ant's code. In Ant 1.6, just write a class that implements Condition, <taskdef> it, and use it inside <condition>. Cannot get any simpler, right? I haven't played with Ant 1.6 at all, so this is all in theory ;-)
If it doesn't work, complain to Peter Reilly who did this (great!) piece of code ;-) --DD > -----Original Message----- > From: Morten Mortensen [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 30, 2003 4:28 PM > To: 'Ant Developers List' > Subject: RE: Implementing "conditions" > > Still, how to implement generic conditions? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]