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.  [ 4 posts ] 
Author Message
 Post subject: XDocLet problem: can not find the mapping file :(
PostPosted: Tue Aug 15, 2006 1:10 am 
Newbie

Joined: Wed Jul 05, 2006 11:24 pm
Posts: 8
<!-- xdoclet -->
<path id="xdoclet.lib">
<fileset dir="E:\projects\thirdparty\xdoclet\xdoclet-1.2.2\lib">
<include name="*.jar"/>
</fileset>
</path>

<!-- xdoclet -->

<target name="hibernate.doclet" depends="init, prepare">
<taskdef name="hibernatedoclet"
classname="xdoclet.modules.hibernate.HibernateDocletTask"
classpathref="xdoclet.lib" />

<hibernatedoclet destdir="${src.dir}" excludedtags="@version, @author, @todo"
force="true" verbose="true" mergedir="${src.dir}">
<hibernate version="2.0" />
<fileset dir="${src.dir}">
<include name="${src.dir}/ws/ization/hb/*.java"/>
</fileset>
</hibernatedoclet>
</target>

Hi all,

The above is what i set in bulid.xml. After i executed it, the msg is:

hibernate.doclet:
[hibernatedoclet] (XDocletMain.start 47 ) Running <hibernate/>

However, I just can see the path :
E:\eclipse\workspace\iZationII_engine\JavaSource\target\xdoclet\persistence

but not mappling file.

Can anyone help me?

Thanks in advance.


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

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
I would suggest you get one of the many samples application that use XDoclet. Normally this is not a big issue to get running. The problem is likely something simple (but not easy to see).


Top
 Profile  
 
 Post subject: thanks David. But i can get the mapping file
PostPosted: Tue Aug 15, 2006 10:52 pm 
Newbie

Joined: Wed Jul 05, 2006 11:24 pm
Posts: 8
<!-- xdoclet -->
<path id="xdoclet.lib">
<fileset dir="E:\projects\thirdparty\xdoclet\xdoclet-1.2.2\lib">
<include name="*.jar"/>
</fileset>
</path>

<!-- xdoclet -->

<target name="hibernate.doclet" depends="prepare">
<taskdef name="hibernatedoclet"
classname="xdoclet.modules.hibernate.HibernateDocletTask"
classpathref="xdoclet.lib" />

<hibernatedoclet destdir="JavaSource/ws/ization" excludedtags="@version, @author, @todo"
force="true" verbose="true" mergedir="JavaSource">
<hibernate version="2.0" />
<fileset dir="JavaSource">
<include name="JavaSource/ws/ization/hb/*.java"/>
</fileset>
</hibernatedoclet>
</target>

Hi,

With the build.xml, i can get mapping files in one project, but can not get mapping file in another project.

Can anyone tell me the secret ?

thank a lot,


Top
 Profile  
 
 Post subject: it is ok now, just mistake the path
PostPosted: Wed Aug 16, 2006 12:19 am 
Newbie

Joined: Wed Jul 05, 2006 11:24 pm
Posts: 8
Thanks guys


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