-->
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.  [ 3 posts ] 
Author Message
 Post subject: problem generating mapping files using xdoclet
PostPosted: Tue Aug 02, 2005 9:25 am 
Newbie

Joined: Wed Feb 23, 2005 2:08 pm
Posts: 17
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version:2.1.7



I am trying to gernerate the mapping files using xdoclet but I am not getting any files generated. It look slike the task runs but is not picking up my java source files. I have verbose set to true but do not seem to get much debugging information. Any suggestions? thanks!

Scott


Buildfile: C:\eclipse_workspace\fpdpoc\build.xml
generate-hbm-from-xdoclet:
[hibernatedoclet] (XDocletMain.start 47 ) Running <hibernate/>
BUILD SUCCESSFUL
Total time: 3 seconds




<path id="xdoclet.classpath">
<fileset dir="C:\Programs\xdoclet-1.2.3\lib">
<include name="*.jar"/>
</fileset>
</path>




<target name="generate hbm using xdoclet" description="Generates Hibernate class descriptor files." >

<!-- Define the hibernatedoclet task -->
<taskdef name="hibernatedoclet"
classname="xdoclet.modules.hibernate.HibernateDocletTask">
<classpath>
<path refid="xdoclet.classpath"/>
</classpath>
</taskdef>

<!-- Execute the hibernatedoclet task -->
<hibernatedoclet
destdir="${src.dir}/com/ccr/cl/model/mapping"
excludedtags="@version,@author,@todo"
force="true"
mergedir="${src.dir}/com/ccr/cl/model/mapping"
verbose="true">
<fileset dir="${src.dir}">
<include name="**/model/*.java"/>
</fileset>
<hibernate version="2.1"/>
</hibernatedoclet>
</target>


Top
 Profile  
 
 Post subject: resolved
PostPosted: Tue Aug 02, 2005 9:52 am 
Newbie

Joined: Wed Feb 23, 2005 2:08 pm
Posts: 17
i resolved this issue


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 02, 2005 7:21 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
Gald you did resolve it. It would be nice if you stated how so anyone searching the forum with a similar problem might pickup some ideas.
Thanks.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.