ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Ant "roles"
Date Tue, 19 Apr 2005 16:08:54 GMT
On Tue, 19 Apr 2005, Matt Benson <> wrote:

> My concern here is back to this: I would like an alternate syntax
> for loading built-in antlibs (as I have made painfully clear).

Yes you have.  And you have my support for a new protocol (in case I
wasn't clear).

> Since antlibs don't accept <import> AFAIK

But <typedef>.

You can have org/apache/tools/ant/taskdefs/antlib.xml with

  <typedef resource="org/apache/tools/ant/taskdefs/"/>

as well as org/apache/tools/ant/types/antlib.xml with

  <typedef resource="org/apache/tools/ant/types/"/>
  <typedef resource="org/apache/tools/ant/types/selectors/antlib.xml"/>
  <typedef resource="org/apache/tools/ant/taskdefs/conditions/antlib.xml"/>

and then even org/apache/tools/ant/antlib.xml with

  <typedef resource="org/apache/tools/ant/types/antlib.xml"/>
  <typedef resource="org/apache/tools/ant/taskdefs/antlib.xml"/>

> I would hate to add the same resource (content) in >1 place,

Of course.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message