Hello Michael, have you given something like On Fri, Nov 12, 2010 at 2:04 PM, Ludwig, Michael wrote: > Moin Wolfgang, > >> I want to provide a *single antlib* with the following requirements: >> (a) must work with Ant 1.7.x and newer >> (b) uses  appearing to be a 1.8.x feature. > >> don't we need a conditional component-, type-, >> macrodef and  taskdef definition?? > > You could parse ${ant.version}. > > ant.version=Apache Ant version 1.8.1 compiled on April 30 2010 > > > > > >> >>   >>     > > A better solution would be to check for the availability of > the type you intend to use, like this: > > >   >     >     >     >     >   > > > Michael > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > -- Wolfgang Häfelinger häfelinger IT - Applied Software Architecture http://www.haefelinger.it +31 648 27 61 59 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org