>Yes, >it is painful! I was hidden .... There is no hint in the manual of taskdef [1], typedef [2] or antlib [3]. I'll add a note there ...
>I would rather do something like: ><loadantlib classpath="jars/example.jar"/> ><example-hello/> > >Where example.jar contains a manifest entry like: > >ant-prefix: example >example-antlib: a/b/c/antlib.xml That would also support <loadantlib> <resourcecollection/> </loadantlib> But I dont like the idea that the antlib should specify the xmlns to use. While it would imply a standard name, so anyone would know what <sf:*> means, but specifying in the buildfile has two advantages - use the name the developer wants: <ac:*> or <antcontrib:*> - handling of name collisions: is <svn:*> the svn-antlib of Ant or something else (maybe tigris)? We need to combine three information: 1. the xmlns to use (as done on <project>) 2. the antlib:-URI (as done in <taskdef uri>) 3. the classpath for the antlib-URI (as done in <taskdef classpath>) If we combine 2+3 we could use the svn-antlib [4] like <project xmlns:svn="antlibjar:ant-contrib.jar!/org.apache.ant.svn"> with a syntax like JarURLConnection [5]. Jan [1] http://svn.apache.org/repos/asf/ant/core/trunk/docs/manual/CoreTasks/tas kdef.html [2] http://svn.apache.org/repos/asf/ant/core/trunk/docs/manual/CoreTasks/typ edef.html [3] http://svn.apache.org/repos/asf/ant/core/trunk/docs/manual/CoreTypes/ant lib.html [4] http://svn.apache.org/repos/asf/ant/antlibs/svn/trunk/src/main/org/apach e/ant/svn/antlib.xml [5] http://java.sun.com/j2se/1.4.2/docs/api/java/net/JarURLConnection.html --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]