[
http://jira.codehaus.org/browse/MHIBERNATE-55?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_110373
]
Dave Minter commented on MHIBERNATE-55:
---------------------------------------
Fix works nicely for me, thanks.
> 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
> Fix For: 2.0-alpha-3
>
> 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