ous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
> Subject: AW: Taskdef classloader issue: Solution found
> Date: Thu, 4 Jun 2009 13:45:33 +0200
> From: juergen.knuple...@icongmbh.de
> To: user@ant.apache.org
>
> Hello,
>
> The real solution for my task
ngmbh.de]
Gesendet: Dienstag, 2. Juni 2009 08:39
An: Ant Users List
Betreff: AW: Taskdef classloader issue
Hello Martin
Thanks for the deep insight and your help!
I finally gave up, and used the workaround to put this special jar on the
classpath of ANT (instead of the classpath of taskdef).
?), if the Spirit
of Debugging comes over me.
Greetings Juergen
--
Jürgen Knuplesch
-Ursprüngliche Nachricht-
Von: Martin Gainty [mailto:mgai...@hotmail.com]
Gesendet: Freitag, 29. Mai 2009 17:27
An: Ant Users List
Betreff: RE: Taskdef classloader issue
here is the testcase
--Original Message-
From: Martin Gainty [mailto:mgai...@hotmail.com]
Sent: Friday, May 29, 2009 11:27 AM
To: Ant Users List
Subject: RE: Taskdef classloader issue
here is the testcase:
package org.apache.tools.ant;
public class AntClassLoaderTest extends BuildFileTest {
private
st vertraulich. Sollten Sie nicht der vorgesehene Empfaenger
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung.
Aufg
Hello,
As I inspected the stacktrace, I found out that this exception could happen,
when you access a class with a classloader, that did not load the class.
So the taskdef loads the file. Is taskdef using a different classloader than
the classloade, who runs my task?
How can I use the same clas