Well, I did search the list for mergeDir and Hibernate but I didn't see any 
reference to this problem...

But thx, I have not done this and I will check this out on Monday... :)


BTJ

On Fri, 10 Feb 2006 08:33:45 -0500
"Aleksandr Shneyderman" <[EMAIL PROTECTED]> wrote:

> Make sure that your merge directory structure reflects that of your
> package structure of the Message class.
> 
> So if my.toypackage.Message is the FQN of the Mesasge class then the
> structure of the directory starting 
> at the root of merge dir should look like this:
> 
> ${merge.dir}/
>    my/
>      toypackage/
>        hibernate-generator-params-Message.xml
> 
> Then xdoclet will be able to match your package structure with your
> merge directory structure and find 
> the inclusion file.
> 
> BTW: you should search the list, this was asked many times before ...
> and I remember answering it :-)
> 
> HTH,
> Alex.
> 
> ------------------------------------------------------------------------
> -----------------------------------
> I am trying to get mergeDir to work but to no avail...
> 
> My build target looks like this..:
> 
> <target name="generate-hibernate">
>        <taskdef name="hibernatedoclet"
>            classname="xdoclet.modules.hibernate.HibernateDocletTask"
>            classpathref="xdoclet.lib.path" />
> 
>        <hibernatedoclet destDir="${hbm.dir}"
>            mergeDir="${merge.dir}"
>            force="true"
>            verbose="true">
>            <fileset dir="${src.dir}">
>                <include name="**/*/*.java" />
>            </fileset>
>            <hibernate version="3.0"/>
>        </hibernatedoclet>
> </target>
> 
> 
> And in my merge.dir I have a file called
> hibernate-generator-params-Message.xml which contains:
> 
> <param name="sequence">messageid_seq</param>
> 
> 
> And I also have a class called Message that generates a Message.hbm.xml
> mapping file, but the sequence part
> in the mapping file is empty, no merging is done..
> 
> 
> What am I missing?
> 
> 
> Regards,
> 
> BTJ
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> _______________________________________________
> xdoclet-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
xdoclet-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to