Hi Andrew

On 23 Nov 2003, at 00:32, Andrew Stevens wrote:

On Sat, 2003-11-22 at 13:29, Mark Lowe wrote:
I'm having trouble generating the xml mapping files for hibernate. The
task fires up the my classes compile but just cant generate the
resources from my tags.
...
         <fileset dir="${hibernate.module.src}">
             <include name="**/*.java"/>
         </fileset>

Checking the obvious, 1) you did use javadoc comments not ordinary ones, didn't you? i.e. "/**" not just "/*"

Yes the xdoclet tags are in the following format


/**
* @hibernate.class     table="foo"
*/


2) ${hibernate.module.src} is the root of your package hierarchy, yes?
i.e. if you have com.foo.bar.SomeClass, ${hibernate.module.src} contains
the "com" directory

This looked promising.


${hibernate.module.src} was just set to my source directory.

src/HibernateModule

so I tried what you seemed to be suggesting and made my source directory structure mirror the package

package com.foo.bar;

..

so..

${hibernate.module.src} is set to src/HibernateModule/com/foo/bar

But the same problem..

Oh well. Try again tomorrow I guess.

Cheers Mark



Andrew.



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user




------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to