I have the following project structure:

root --
   -- core
       -- src/main/resources/hibernate.cfg.xml
   -- web (no hibernate.cfg.xml)

I'm developing a code-generation plugin that's based on the hibernate3
plugin.  When I have a project with no modules, everything works fine.
However, when I try to run the hibernate3 plugin in the "web" module,
it complains that src/main/resources/hibernate.cfg.xml is not found.
How can I set the "configurationfile" parameter so it looks up the
file from core (or its JAR)?

I tried ../core/src/main/resources/hibernate.cfg.xml as well as
${basedir}/../core/src/main/resources/hibernate.cfg.xml and neither
works.

Thanks,

Matt

---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to