-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: XDoclet BUILD FAILED again arrrrg!!!
PostPosted: Mon May 24, 2004 5:51 am 
Beginner
Beginner

Joined: Thu Apr 29, 2004 12:45 pm
Posts: 45
Hi,
I've been struggling for several weeks with XDoclet and still no luck generating scripts properly. Posted below is yet another error message. Could someone please tell me how to resolve it? Any thoughts are appreciated.


BUILD FAILED
D:\jZUDIApp\MiddleTier\build.xml:90: taskdef A class needed by class xdoclet.mod
ules.hibernate.HibernateDocletTask cannot be found: xjavadoc/ant/XJavadocTask
at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:464)


NOTE:
All classes mentioned in the error output exist in my XDoclet installation. Also, the classpath seems to be right or else it wouldn't find the calling class, HibernateDocletTask, in the first place, right?


HERE IS MY PATH DEFINITION:
<path id="classpath">
<fileset dir="F:\XDoclet121\lib">
<include name="*.jar"/>
</fileset>
<fileset dir="F:\Hibernate21\lib">
<include name="*.jar"/>
</fileset>
<pathelement path="C:\j2sdk14204\lib\tools.jar"/>
</path>




HERE IS THE TASKDEF:
<!-- Defines the hibernatedoclet task -->
<taskdef
name="hibernatedoclet"
classname="xdoclet.modules.hibernate.HibernateDocletTask">
<classpath refid="classpath"/>
</taskdef>


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 24, 2004 10:11 am 
Beginner
Beginner

Joined: Thu Apr 29, 2004 12:45 pm
Posts: 45
Ok, I found the error. A few days ago I downloaded a new XDoclet package and renamed it to XDoclet from the default name xdoclet-1.2.1. I don't like dots and dashes in my base directories, that is why I changed it. Well, apparently internal paths are hard-coded to include the default base directory name.

Live and learn, I guess. Just don't do what I did; you'll regret it!


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.