On Tue, 19 Apr 2005, Matt Benson <[EMAIL PROTECTED]> 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

<antlib>
  <typedef resource="org/apache/tools/ant/taskdefs/defaults.properties"/>
</antlib>

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

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

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

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

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

Of course.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to