IIRC from many years ago this is an xdoclet problem/limitation. You have to include the source to the base class(es) in the set of stuff that xdoclet parses for the xdoclet inheritance to work. I have no idea if this is conceivable to do with the xdoclet maven plugin. If you are simply calling the xdoclet ant task using jelly it's probably possible to hardcode in something to include the base projects sources if they are going to be in a fixed location relative to the project that is using them.

My guess is that this is not going to be especially easy.  Good luck,

david jencks

On Feb 16, 2005, at 10:35 AM, Sean Muse wrote:

Please help!  I am trying to use Maven for a new
(inherited) project I am working on.

The client has a base project that they always use.
This source code base has numerous classes in it,
including a base PersistableObject class.  This
PersistableObject class has XDoclet markings for
Hibernate.  For example, it has the mappings for the
id field.  All of the objects that need to be
persisted in the new project should extend this class.

How do I do this?

Maven can generate the mappings for the base project.
That works perfectly; however, when I want it to build
the base project and generate mappings for the
subproject, it no longer includes all the mappings
embedded in the source.

Is there no way to do this?!


_Sean


__________________________________ Do you Yahoo!? Yahoo! Mail - now with 250MB free storage. Learn more. http://info.mail.yahoo.com/mail_250

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to