ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Hackel <>
Subject Problem with TaskDef
Date Fri, 20 Aug 2004 14:34:50 GMT

I have a problem with the taskdef task. i can't get "custom" tasks to work.

<taskdef name="myjdepend"
	<classpath >
		<pathelement location="/libs/jdepend.jar" />

When i use this task ant complains about that it cant find a needed 
class. But this class is definitly in the jar and the jar is also present.

BUILD FAILED: xxxxxxxxxx/build.xml:xxxx: taskdef A class needed by class cannot be 
found: jdepend/xmlui/JDepend

I am using Ant 1.6.1 inside of eclipse 3.0.
This works when i put the JAR into the Ant classpath of eclipse. But 
this is no solution!

Thanks and a nice weekend,

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

View raw message