ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nico Seessle" <n...@seessle.de>
Subject Re: Ant can't find custom task
Date Mon, 18 Sep 2000 22:53:03 GMT
----- Original Message -----
From: "Mads Andersen" <mads054@pop.k-net.dk>
To: <ant-user@jakarta.apache.org>
Sent: Tuesday, September 19, 2000 12:23 AM
Subject: Re: Ant can't find custom task


> Now I've tried the very example in documentation (MyVeryOwnTask), and it
> still says:
>
> test.xml:4: taskdef class com.mydomain.MyVeryOwnTask cannot be found
>
> And the class is still found by simple "java com.mydomain.MyVeryOwnTask".
>
> This is driving me nuts!
>
> Best regards, Madsie
>

If you run using the -verbose argument you should get a line which starts
like this "Setting project property: java.class.path ->". Is your classpath
correctly specified on this line?

Nico



Mime
View raw message