Kristian Cibulskis a écrit :

I've searched around the archives, but couldn't find any reference to this. My problem is the following:

In my project, we use XDoclet to generate our Hibernate mappings

I do the same thing.
After i build an har archive. It will automatically load all your .hbm.xml.
Why don't you use har archive ?
I try to do the same thing with struts-validator but I can't generate automatically .vld.xml file (cf my previous post)


and the JBoss service MBean for hibernate. Life is good. However, then we needed to create a few .hbm.xml files by hand (long story related to subclassing 3rd party classes for which we have no source). In any event, it appears that the <jbossservice> tag will only include .hbm.xml files that it generated into the <MapResources> attribute.

Is there a way to specify additional mapping files to include in there? If not, what would be the best way to do this? Some initial ideas I had were

1. munging the file after the fact
2. adding a new merge point into the jboss-service.xdt
3. extending the <jbossservice> task to support a nested fileset of additional mapping


TIA,

Kristian

Sébastien



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
xdoclet-user mailing list
xdoclet-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-user




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
xdoclet-user mailing list
xdoclet-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to