ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Hackel <thomas.hac...@bi-so.com>
Subject Problem with TaskDef
Date Fri, 20 Aug 2004 14:34:50 GMT
Hi!

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

<taskdef name="myjdepend"
classname="org.apache.tools.ant.taskdefs.optional.jdepend.JDependTask">
	<classpath >
		<pathelement location="/libs/jdepend.jar" />
	</classpath>
</taskdef>

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 
org.apache.tools.ant.taskdefs.optional.jdepend.JDependTask 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,
Thomas

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


Mime
View raw message