wiki:Location

Design decision:


Option 1 Put the Hibernate mapping files in the same package as the entity class. This would be in geonetwork-domain-ebxml jar file.

Option 2 Put the Hibernate mapping files in config package in the project geonetwork-dao-ebxml. Maven will then put it in the geonetwork-dao-ebxml jar file.

Choice for Option 2. Initially option 1 was implemented. From the point of view of Maven this worked fine on Windows XP and Linux Ubuntu. Unfortunately Hudson triggering Maven did not package the hibernate mapping files. Option 2 works as well under Hudson.

I do not understand why option 1 was not working. The curious thing is that in the end it is always Maven, not Hudson. Because Hudson uses Maven to build the artefact. It may be due to the fact that jibx is used in geonetwork-domain-ebxml.

Status: geonetwork-dao-ebxml\src\main\resources\org\geonetwork\domain\ebxml\informationmodel\provenance\EmailAddress.hbm.xml has been put in the location according option 2. The rest still needs to be moved.


Related issue, just for the record


http://forum.springframework.org/showthread.php?t=63627

Last modified 15 years ago Last modified on Nov 18, 2008, 6:25:10 AM
Note: See TracWiki for help on using the wiki.