ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <>
Subject antlib / proposal of Peter Reilly
Date Wed, 14 May 2003 07:50:53 GMT
I am having a look at

This proposal seems to address most of the points discussed in this mailing list concerning
the antlib thread of discussion.

I was thinking maybe we do not need to look further and we could commit this contribution

I would be glad to hear your comments concerning :
1) the functionality provided by the contribution
2) the implementation
I am quoting Peter Reilly here :

This patch adds 4 new features (the code is interrelated,
but may be split).
  * adapter attribute added to typedef
  * add(Type) method added to introspection rules
  * typedef can read an xml defintion file
  * namespace support for xml defintions (antlib:)
So one can do
<project xmlns:acme="org.acme.anttasks">
      <path path="build.xml"/>
where the class path contains the org/acme/anttasks/antlib.xml
and the antlib.xml file contains:
   <typedef name="hello" classname="org.acme.anttasks.Hello"/>

ToDo: add in support for ant-type polymorphism and addConfigured(Type).
      also more error checking and unit tests.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message