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 Summary: Patch to implement the namespaced antlib + other changes Product: Ant Version: 1.6Alpha (nightly) Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: Other Component: Core AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] This patch implements some of the changes discussed in the antlib discussion, http://marc.theaimsgroup.com/?t=105138763000003&r=1&w=2 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"> <acme:hello> <path path="build.xml"/> </acme:hello> </project> where the class path contains the org/acme/anttasks/antlib.xml and the antlib.xml file contains: <antlib> <typedef name="hello" classname="org.acme.anttasks.Hello"/> </andlib> The patch file is a tared gzip file. and contains a patch file, and a set of new files. see the "adaptor.make" file in the tar file for the list of changed files and the new files. See the unit test "src/etc/testcases/taskdefs/typedef2.xml" for sample usages. ToDo: add in support for ant-type polyizm and addConfigured(Type). also more error checking and unit tests.