> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Aslak
> Helles�y
> Sent: 24. mars 2003 20:37
> To: [EMAIL PROTECTED]
> Subject: RE: [Xdoclet-user] hIbernate task does not generate anything
>
>
> Your fileset probably excludes everything. Try includes="**/*.java".
>
Ignore my last comment. The root of the fileset must match the root of the
package hierarchy. So what you need is:
<fileset
dir="${server.src.dir}"
includes="com/example/*.java"/>
or
<fileset
dir="${server.src.dir}"
includes="**/*.java"/>
OK?
Aslak
> Aslak
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of otisg
> > Sent: 24. mars 2003 19:38
> > To: [EMAIL PROTECTED]
> > Subject: [Xdoclet-user] hIbernate task does not generate anything
> >
> >
> > Hello,
> >
> > I am trying to use XDoclet 1.2.1 to generate
> > Hibernate files (.hbm.xml files) from Java
> > classes marked up with @hibernate.* tags.
> > Unfortunately, XDoclet fails to generate any
> > .hbm.xml files and setting the verbose
> > attribute to 'true' does not seem to have
> > any effect.
> >
> > My build.xml contains the following:
> >
> > <!-- pick up all XDoclet jars -->
> > <path id="xdoclet.classpath">
> > <fileset dir="${xdoclet.dir}"
> > includes="*.jar"/>
> > </path>
> >
> > <!-- define the bernatedoclet Ant task -->
> > <taskdef name="hibernatedoclet"
> >
> > classname="xdoclet.modules.hibernate.HibernateDocletTask"
> > classpathref="xdoclet.classpath"/>
> >
> > <!-- generate hibernate files -->
> > <target name="gen-hibernate">
> > <hibernatedoclet
> > addedTags="@xdoclet-generated at
> > ${TODAY}"
> >
> > destDir="${build.classes.dir}/gen/hibernate"
> > excludedTags="@version"
> > force="true"
> > verbose="true">
> >
> > <fileset
> > dir="${server.src.dir}/com/example"
> > includes="*.java"/>
> > </hibernatedoclet>
> > </target>
> >
> >
> > Because setting verbose attribute to 'true'
> > doesn't do a thing, I can't tell what is
> > going on.
> >
> > There are no taskdef-related errors, so
> > XDoclet Jars are being found. The dir in
> > <fileset> is correct and XDoclet does
> > complain if I change the name to some
> > non-existing directory.
> > The dir specified in distDir attribute also
> > exists.
> >
> > What is the best way to go about figuring
> > out what is wrong here?
> >
> > Thanks,
> > Otis
> >
> >
> > ________________________________________________
> > Get your own "800" number
> > Voicemail, fax, email, and a lot more
> > http://www.ureach.com/reg/tag
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > xdoclet-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/xdoclet-user
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user