(forwarded from the ant-user list...)
Hi, i've written a bunch of anttasks. Those tasks are collected in a jar. The Jar has an antlib.xml with a mapping of the classnames to tasknames <antlib> <taskdef name="mfscan" classname="de. ... . ..."/> <taskdef name="setloglevel" classname="de. ... . ..."/> ... </antlib> The jar lies under %ANT_HOME%/lib the taskdefs are imported via = <taskdef resource="de/.../.../ant/antlib.xml"> Yesterday a workmate added a new task and also referenced it in the antlib.xml From that on a strange problem appeared = one ant script with <taskdef resource="de/.../.../ant/antlib.xml"> is started from a class like that /* java.io.File buildFile = new java.io.File(args[0]); org.apache.tools.ant.Project p = new org.apache.tools.ant.Project(); p.setUserProperty("ant.file", buildFile.getAbsolutePath()); org.apache.tools.ant.DefaultLogger consoleLogger = new org.apache.tools.ant.DefaultLogger(); consoleLogger.setErrorPrintStream(System.err); consoleLogger.setOutputPrintStream(System.out); consoleLogger.setMessageOutputLevel(org.apache.tools.ant.Project.MSG_INF O); p.addBuildListener(consoleLogger); try { p.fireBuildStarted(); p.init(); ... etc. */ Until the new class came in it ran fine but now it produces = Error reading project file jar:file:/E:/SCM_Sync/tools/ant/lib/hukit13ant.jar!/de/huk/it13/ant/antl ib.xml: oversubscribed dynamic bit lengths tree whereas other scripts running with the same line <taskdef resource="de/.../.../ant/antlib.xml"> and the same jar run fine as before. I checked the antlib.xml for non UTF-8 chars and things like that, but didn't find any. Also googling didn't bring up something helpful except for some cryptic bugreport @ sun Env = Windows 2000/2003, ant 1.6.5, jdk 5 any ideas ?? Regards, Gilbert --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]