Hello,

I want to provide a *single antlib* with the following requirements:
(a) must work with Ant 1.7.x and newer
(b) uses <componentdef />  appearing to be a 1.8.x feature.

How would I do this?

In other words, don't we need a conditional component-, type-,
macrodef and  taskdef definition??

Something like

<antlib xmlns:c="ant:current">
  <ifver  gt="1.8.0" eq="1.8.0">
    <componentdef name=".." .. />
  </ifver>
  <!-- pre 1.8.0 definitions .. -->
  ..
</antlib>

Regards.

-- 
Wolfgang Häfelinger
häfelinger IT - Applied Software Architecture
http://www.haefelinger.it
+31 648 27 61 59

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to