ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
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 <> 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.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message