ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knuplesch, Juergen" <>
Subject Taskdef classpath does nor work
Date Thu, 28 May 2009 14:49:59 GMT

I do a taskdef with 1.7.1 like:

<taskdef name="myTask"
   <classpath refid="java.classpathid"/>

When I display the classpath referenced in java.classpathid I see a certain jar.
When I run the task it fails, because it can not find a class that is based in that certain

When I add the jar in the classpath of Ant it works.

This is strange, because lots of other classes and jars are found using this task. (The task
starts does a lot and the final step fails)

Has Ant a problem with long classpaths or does it support only one classpath for all taskdefs????
(doesnt make sense to me)

I can not find the reason. Please help!

Greetings Jürgen

Jürgen Knuplesch      

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

View raw message