The following comment has been added to this issue: Author: David Eric Pugh Created: Sun, 25 Jul 2004 10:19 AM Body: I've since figured out the classpath issues, and the basic unit test works.. However, when I tried to use it on a large project, I am getting lots of duplicate import errors:
Could not configure datastore from file: C:\clients\anite\cvs\ctms\target\classes\com\anite\ctms\zebra\om\HibernateProcessInstance.hbm.xml net.sf.hibernate.MappingException: duplicate import: HibernateProcessInstance at net.sf.hibernate.cfg.Mappings.addImport(Mappings.java:85) at net.sf.hibernate.cfg.Binder.bindClass(Binder.java:126) at net.sf.hibernate.cfg.Binder.bindRootClass(Binder.java:221) at net.sf.hibernate.cfg.Binder.bindRoot(Binder.java:1243) at net.sf.hibernate.cfg.Configuration.add(Configuration.java:249) at net.sf.hibernate.cfg.Configuration.addFile(Configuration.java:171) at org.apache.maven.hibernate.beans.SchemaExportBean.getConfiguration(SchemaExportBean.java:257) So, I'm leaving this issue open for now.. Let me know how it works for you. --------------------------------------------------------------------- View this comment: http://jira.codehaus.org/browse/MPHIBERNATE-10?page=comments#action_22281 --------------------------------------------------------------------- View the issue: http://jira.codehaus.org/browse/MPHIBERNATE-10 Here is an overview of the issue: --------------------------------------------------------------------- Key: MPHIBERNATE-10 Summary: maven-hibernate ignores the "config" attribute Type: Bug Status: Unassigned Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: maven-hibernate-plugin Fix Fors: 1.2 Assignee: Reporter: Henning Schmiedehausen Created: Thu, 22 Jul 2004 3:17 PM Updated: Sun, 25 Jul 2004 10:19 AM Description: Hibernate allows you to use an xml config file instead of the regular properties file. Everything is almost in place, however I needed the attached patch to make it actually work. The patch to plugin.jelly brings the property to the tag and the Java code patch allows Hibernate to open the correct file. Please apply --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]