Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 5340 invoked from network); 30 Mar 2010 08:33:09 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 30 Mar 2010 08:33:09 -0000 Received: (qmail 90242 invoked by uid 500); 30 Mar 2010 08:33:08 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 90041 invoked by uid 500); 30 Mar 2010 08:33:08 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 90032 invoked by uid 99); 30 Mar 2010 08:33:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Mar 2010 08:33:07 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [62.154.176.138] (HELO icon040.icongmbh.de) (62.154.176.138) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Mar 2010 08:33:00 +0000 Received: from icsrv02.icongmbh.de (unknown [192.168.195.2]) by icon040.icongmbh.de (Postfix) with ESMTP id EEED912060 for ; Tue, 30 Mar 2010 10:03:57 +0200 (CEST) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Subject: Taskdef and classpath Date: Tue, 30 Mar 2010 10:03:57 +0200 Message-ID: <06080D44730F41428BAF2168FA8BDD80046EC664@icsrv02.icongmbh.de> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Taskdef and classpath thread-index: AcrP34x12EeGUel6QDOFu1nRmKv4+A== From: "Knuplesch, Juergen" To: "Ant Users List" X-Virus-Checked: Checked by ClamAV on apache.org Hello, I have an ANT-task that I call inside my buildfiles. I have access to the source of this task. I have problems with elements on the classpath, because I use different = XML-parsers. How can I define my task in a way, that there are only the elements on = its classpath (e.g. the xml parser), that I want, especially there = should not be all the elements of ANT on this classpath? What is the correct / best way: 1.just define a classpath in the taskdef task (this does not seem to = work) 2.create a separate classloader in this task. But how do I configure it = in a way, that I get rid of all the ANT classpath elements?? 3.??? Greetings Juergen --=20 J=FCrgen Knuplesch=20 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org