I am using xDoclet 2 with Hibernate 3 to generate my mapping files. I am starting to have multiple web apps which each require some base domain objects.
I would like to pull my shared domain objects into a separate project and jar them up, for distribution to my multiple web apps. The problem I'm running into is in the shared objects. One of them is an audit trail object which is extended by many other domain objects unique to each web app. Since the audit class is extended and not a table, no mapping file is created for it specifically. How can I have my individual web apps create the necessary mapping files using xdoclet, when the extended class is actually in the jar (it is already compiled)? What options are available to me?
Thanks for the help.
|