Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 18874 invoked from network); 16 May 2004 21:33:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 16 May 2004 21:33:01 -0000 Received: (qmail 67186 invoked by uid 500); 16 May 2004 21:33:02 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 67148 invoked by uid 500); 16 May 2004 21:33:02 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 67134 invoked by uid 98); 16 May 2004 21:33:01 -0000 Received: from anonymous@nagoya.betaversion.org by hermes.apache.org by uid 82 with qmail-scanner-1.20 (clamuko: 0.70. Clear:RC:0(192.18.33.10):. Processed in 0.038098 secs); 16 May 2004 21:33:01 -0000 X-Qmail-Scanner-Mail-From: anonymous@nagoya.betaversion.org via hermes.apache.org X-Qmail-Scanner: 1.20 (Clear:RC:0(192.18.33.10):. Processed in 0.038098 secs) Received: from unknown (HELO exchange.sun.com) (192.18.33.10) by hermes.apache.org with SMTP; 16 May 2004 21:33:01 -0000 Received: (qmail 26452 invoked by uid 50); 16 May 2004 21:33:50 -0000 Date: 16 May 2004 21:33:50 -0000 Message-ID: <20040516213350.26451.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: dev@ant.apache.org Cc: Subject: DO NOT REPLY [Bug 29027] New: - Classpath elements within taskdefs ignored when in Antlib X-Spam-Rating: hermes.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=29027 Classpath elements within taskdefs ignored when in Antlib Summary: Classpath elements within taskdefs ignored when in Antlib Product: Ant Version: 1.6.1 Platform: PC OS/Version: Windows XP Status: NEW Severity: Normal Priority: Other Component: Core tasks AssignedTo: dev@ant.apache.org ReportedBy: alexmcmanus@bigfoot.com Consider the following ant script with a taskdef that works as expected: Test1.xml ========= In this next example, I define an antlib, and move the taskdef into the antlib: Test2.xml ========= TestAntLib.xml ============== When I run the build like this, I get the following error: [taskdef] Could not load definitions from resource net/sf/antcontrib/antcontrib.properties. It could not be found. This example is as simple as I could reduce it - in a real antlib, it seems to get twisted in knots when you include taskdefs with nested classpath elements. It seems a reasonable thing to attempt - I'm trying to define an antlib with some macro definitions that depend on external taskdefs, and I don't want the build script that calls the antlib to have to know how to setup the classpath for tasks that are used internally within the antlib. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org