all,

of general interest to those that have been working with Maven and AndroMDA
and Hibernate.  I just checked a fix into the XDoclet plugin generator so
that this trio could play well together.  As I started to get my environment
set up, I started realizing that there was no way to get Hibernate to build
from multiple source directories.  In our case, we generate entities with
AndroMDA, then use XDoclet on both the java source directory *and* the
AndroMDA target directory.  This wasn't possible to do before, which would
imply that nobody has done this yet. ;)

Sooo, what you need to add to your project.properties (presuming that
AndroMDA generates to ${maven.build.dir}/src) is:

   maven.xdoclet.hibernatedoclet.fileset.1=true
   maven.xdoclet.hibernatedoclet.fileset.1.sourcedir=${maven.build.dir}/src
   maven.xdoclet.hibernatedoclet.fileset.1.include=**/*.java

The second line is new...

I tried to put this on the *iki, but I've never been to good at those things
and gave up.  Maybe someone can sell me a clue and I'll go burn some cycles
there.

-b


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to