Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 66783 invoked from network); 26 Jun 2008 19:47:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Jun 2008 19:47:43 -0000 Received: (qmail 80968 invoked by uid 500); 26 Jun 2008 19:47:44 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 80937 invoked by uid 500); 26 Jun 2008 19:47:44 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 80926 invoked by uid 99); 26 Jun 2008 19:47:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jun 2008 12:47:43 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [212.227.126.171] (HELO moutng.kundenserver.de) (212.227.126.171) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jun 2008 19:46:53 +0000 Received: from [192.168.178.2] (nrbg-4dbfcfd0.pool.einsundeins.de [77.191.207.208]) by mrelayeu.kundenserver.de (node=mrelayeu7) with ESMTP (Nemesis) id 0ML2xA-1KBxQX0PDZ-00066K; Thu, 26 Jun 2008 21:46:41 +0200 Message-ID: <4863F220.2050208@schillbaer.de> Date: Thu, 26 Jun 2008 21:46:40 +0200 From: Gilbert Rebhan User-Agent: Thunderbird 2.0.0.14 (X11/20080421) MIME-Version: 1.0 To: dev@ant.apache.org Subject: [Fwd: Strange problem with taskdef and antlib.xml] Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX1+wmegEc4c8Yc+Az4Xgb5a8+XTThHwCLItqAHD Og08GQEQn13kGYsdpVE1tTY4c0sLBxRMToLAUsPDdeNXdDZ49q 7IebasO5lFku9hIo5hSjQ== X-Virus-Checked: Checked by ClamAV on apache.org (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 ... The jar lies under %ANT_HOME%/lib the taskdefs are imported via = 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 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 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: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org