No need for parsing! Don't know about ClassLoader#getResources??? --DD
> -----Original Message----- > From: Costin Manolache [mailto:[EMAIL PROTECTED] > > I don't like passing the .jar very much - but that's probably the only > way if we want to use META-INF/antlib.xml. > > The alternative would be to use /net/sf/antcontrib/antlib.xml (i.e. > descriptor in a package ), and use "antlib:net.sf.antcontrib" as > namespace. > Then getResource() can be used, and we don't have to worry about > multiple jars providing META-INF/antlib.xml - which forces us to use the > .jar file directly.