ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 19897] - Patch to implement the namespaced antlib + other changes
Date Thu, 10 Jul 2003 09:03:17 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19897>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19897

Patch to implement the namespaced antlib + other changes





------- Additional Comments From peter.reilly@corvil.com  2003-07-10 09:03 -------
Hi I have refreshed the poly.tar.gz patch against the
current cvs as there has been a number of changes in ant cvs
on the affected files - attachment 7203.

I have made another patch for the fourth step in decoupling
the overall patch.
This adds (finally) the ability to use an xml formatted file
- antlib format to define tasks and types.

It is slightly different from the original implementation -
the Antlib definition task is not now available from a build.xml script
this will allow the antlib name to used as a build.xml task, and
also means the antlib definition task does not have to check
that it is called correctly.

The second difference is that Antlib.java implements TaskContainer
and allows any task/type to be included in the antlib file.
The main reason for this is to allow other Definers to be defined
and used in the antlib file.
========================================= 
=   Changed Files  
========================================= 
docs/manual/CoreTasks/typedef.html
   update and reorganize describe antlib here
src/main/org/apache/tools/ant/taskdefs/Definer.java
   add format attribute
   add call to load antlib if format is xml
src/main/org/apache/tools/ant/helper/ProjectHelper2.java
   add support to read in an ant task/datatype from an URL

========================================= 
=   New Files  
========================================= 
src/etc/testcases/taskdefs/antlib.xml
  simple test for antlib
src/etc/testcases/taskdefs/test.antlib.xml
  simple test for antlib
src/main/org/apache/tools/ant/taskdefs/Antlib.java
  antlib task
src/testcases/org/apache/tools/ant/taskdefs/AntlibTest.java
  simple test for antlib

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message