Use <fileset> to find catch that class file. Transform into a property using <proeprty refid=""/> or <pathconvert>. After that <condition> should be your friend.
Jan
> -----Urspr?ngliche Nachricht----- > Von: Stuart Harper [mailto:stuartharper@(protected)] > Gesendet am: Dienstag, 3. Mai 2005 19:39 > An: user@(protected) > Betreff: Available Task > > Hi, > > I'm trying to use Ant to create a script which behaves > differently depending > on the presence of a certain class. I could use the Available > task if I knew > the full classname but I only know that it will start with Debug. > > Is there any way to make the available task operate with > filesets/patternsets or is there any other way to implement this? >