ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Lost newbie : cannot get new task to work
Date Wed, 05 Dec 2001 12:50:46 GMT
On Wed, 05 Dec 2001, Franck Routier <Franck.Routier@hospvd.ch> wrote:

> <taskdef name="Xmlc" classname="org.enhydra.barracuda.taskdefs.Xmlc"
>                      classpath="lib/ant-barracuda.jar"/>

> +Task: taskdef
> Class org.enhydra.barracuda.taskdefs.Xmlc loaded from parent loader

the key here is "from parent loader" - that is the class is on your
system classpath.

> Xmlc due to java.lang.NoClassDefFoundError

It seems to find the task class itself, but fails to load some other
classes that this task depends upon.

Don't put anything into ANT_HOME/lib and try with an empty CLASSPATH
so that you can be sure that org.enhydra.barracuda.taskdefs.Xmlc will
be loaded from the jar file you are pointing taskdef to.

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message