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: org.xdoclet.ant.XDocletTask cannot be found
PostPosted: Mon Aug 14, 2006 4:39 am 
Newbie

Joined: Wed Jul 05, 2006 11:24 pm
Posts: 8
<path id="retroguard.jar">
<pathelement location="E:/projects/Common2/lib/retroguard.jar"/>
</path>
<target name="hibernatedoclet"
depends="init, prepare"
description="Generate Persistence and form classes">
<taskdef
name="hibernatedoclet"
classname="org.xdoclet.ant.XDocletTask"
classpathref="class.path"
/>
<xdoclet>
<!-- defines the file handled by xdoclet2 -->
<fileset dir="${src.dir}">
<include name="/ws/ization/hb/*.java"/>
</fileset>
<!-- defines the processing of a plugin -->
<component
classname="org.xdoclet.plugin.hibernate.HibernateMappingPlugin"
destdir="${hbm.dir}"
version="3.0"
/>
</xdoclet>
</target>

I have download the jar file, but why it also tell me org.xdoclet.ant.XDocletTask can not be found ?

Thanks,


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 15, 2006 6:46 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
Make sure you using atleast XDoclet 1.2.3 but your better off using the 1.3.x snap shot. There is more than a single jar is necessary to get it working. See examples, eg, Appfuse uses XDoclet.


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:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.