aspose file tools
The moose likes Ant, Maven and Other Build Tools and the fly likes Ant 1.5.3 and XDoclet 1.2 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Reply Bookmark "Ant 1.5.3 and XDoclet 1.2" Watch "Ant 1.5.3 and XDoclet 1.2" New topic
Author

Ant 1.5.3 and XDoclet 1.2

Jack J. Jackson
Greenhorn

Joined: Apr 20, 2002
Posts: 27
I'm having a strange problem with XDoclet. The error message I get is:
taskdef class xdoclet.modules.hibernate.HibernateDocletTask cannot be found
So, I set up a little debugging target to see what's up. To eliminate as many variables as possible, I simplified the classpath to just the XDoclet JAR. I also did a search for another file in the JAR, HibernateSubTask for validation. Here's the target:

Here's the output:

Clearly, HibernateDocletTask is not being found when the other class file is, though a check of the JAR file shows both class files are present.
I've checked and double-checked, but am stumped why the class isn't being found. At this point, I have to assume I'm overlooking something obvious.
Any ideas?


Jack
 
 
subject: Ant 1.5.3 and XDoclet 1.2
 
Threads others viewed
Where is documentation for ant task schemaexport
OpenEJB + JUnit + Ant
BUILD FAILED in Build.xml
Error with XDoclet In Hibernate
Xdoclet doesnot capture tags in tld file
IntelliJ Java IDE