My guess is you'd have to recycle the code in the jdo task which gives you
a choice of file/class, file/package, or single file for the whole fileset.
Have you guys been consulting the jdo task to make sure you aren't
rewriting existing functionality?
thanks
david jencks
On 2002.12.25 12:31:07 -0500 tek1 wrote:
> is there any way to get it to generate the mapping file with a fixed name
>
> (i.e. "hibernate-mapping.xml") in the top level of the output directory?
>
> i currently have 1 class that i'm using as a test ("User") with the
> hibernate task and the mapping file that is being generated is:
>
> User_Hibernate.hbm.xml
>
> which looks like it's based on the class name.
>
> also, that mapping file is being generated in a directory that matches
> the
> class's package hierarchy. so if the fully-qualified package name of
> "User" is "foo.bar.User", then the User_Hibernate.hbm.xml mapping file is
>
> being generated in:
>
> ${output.dir}/
> foo/
> bar/
> User_Hibernate.hbm.xml
>
>
> nice work on the task!
>
> merry Christmas!
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Xdoclet-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
>
>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel