--- Roland Chan <[EMAIL PROTECTED]> wrote:
> I have been using XDoclet successfully for quite
> some time to generate
> hibernate mapping files.
> 
> My current problem is that I am attempting to merge
> a single entity
> containing additional property mappings for a single
> class, however, it is
> not performing the merge.
> 
> In my project.properties in addition to the usual
> suspects I have the
> following:
> 
> .
>
maven.xdoclet.hibernatedoclet.mergeDir=${basedir}/src/conf/merge
> ...

looks good...  I have the same and it used to work
( now I`m mowing to xdoclet 2 ) 

You can try to check whether baseidr is defined. 
( via echo in maven.xml ) ... Sometimes it's not...

> I have a class Problem and a corresponding
> hibernate-properties-Problem.xml
> file in the above merge directory.  When I change
> the name of the file to be
> merged to hibernate-properties.xml it works,
> however, appends the contents
> to all my .hbm.xml files.  Of course, I only need
> this additional property
> in the Problem.hbm.xml.
>

This merge file ought to be in subdirectory of your
mergedir,
reflecting class package path. 

If your class is foo.bar.baz.Blurge, then his merge
file
shall live in :
<whatever is your merge
dir>/foo/bar/baz/hibernate-proeprities-Blurge.xml

regards,

=====
----[ Konstantin Pribluda ( ko5tik ) ]----------------
Zu Verst�rkung meines Teams suche ich ab Sofort einen
Softwareentwickler[In] f�r die Festanstellung. 
Arbeitsort: Mainz 
Skills:  Programieren, Kentnisse in OpenSource-Bereich
----[ http://www.pribluda.de ]------------------------

__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus


-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to