It would be useful to be able to pull configuration in from the classpath as
well as filesystem paths.
------------------------------------------------------------------------------------------------------
Key: MHIBERNATE-55
URL: http://jira.codehaus.org/browse/MHIBERNATE-55
Project: Maven 2.x Hibernate Plugin
Issue Type: Improvement
Components: hbm2ddl
Reporter: Dave Minter
Assignee: Johann Reyes
Priority: Minor
Attachments: AbstractComponentConfiguration.patch, HibernateUtils.patch
The plugin cannot currently load certain configuration details other than via
the hibernate.cfg.xml file, and this currently has to be on the filesystem.
I'm trying to put together a clean automated build and this presents me with
some minor problems, basically because the configuration file is only available
as one of the contents of the JAR containing the annotated class files. I've
hacked a couple of classes so that as well as checking the filesystem for the
path to the config file the classpath is also checked. This solves my problem.
Patches against 4955 from svn is attached.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email