Are both of these hibernate settings required in the core/maven.xml file?
<ant:java classname="net.sf.hibernate.tool.hbm2ddl.SchemaExport" fork="true"> <ant:pathconvert refid="hibernate.mapping.files" property="hibernate.mappings" pathsep=" "/> <ant:arg value="--output=${hibernate.schema.output.dir}/schema-create.sql"/> <ant:arg value="--text"/> <ant:arg value="--quiet"/> <ant:arg value="--delimiter=;"/> <ant:arg value="--format"/> <ant:arg line="${hibernate.mappings}"/> <ant:jvmarg value="-Dhibernate.dialect=${hibernate.db.dialect}"/> <ant:classpath refid="schema.classpath" /> </ant:java> <ant:java classname="org.hibernate.tool.hbm2ddl.SchemaExport" fork="true"> <ant:replaceregexp file="${hibernate.schema.output.dir}/schema-create.sql" match="^(alter table .* drop constraint|drop table)" replace="-- SKIP 1" flags="i" byline="true"/> <ant:arg value="--output=${hibernate.schema.output.dir}/schema-drop.sql"/> <ant:arg value="--text"/> <ant:arg value="--quiet"/> <ant:arg value="--drop"/> <ant:arg value="--delimiter=;"/> <ant:arg value="--format"/> <ant:arg line="${hibernate.mappings}"/> <ant:jvmarg value="-Dhibernate.dialect=${hibernate.db.dialect}"/> <ant:classpath refid="schema.classpath" /> </ant:java> One is referencing the v2 hib and the other v3, correct? I want v3. Also, here is the output after making all the above changes. I must have missed something. NOTE: Targetting JVM 1.4, classes will not run on earlier JVMs ========================================================== [javac] Compiling 28 source files to C:projectsbofagfedscoretargetclasses C:projectsbofagfedscoretargetsrccombofagcibgfedspositionsFxPositionTypeEnum.java:8: pack age net.sf.hibernate does not exist import net.sf.hibernate.HibernateException; ^ C:projectsbofagfedscoretargetsrccombofagcibgfedspositionsFxPositionTypeEnum.java:22: pac kage net.sf.hibernate does not exist net.sf.hibernate.UserType ^ C:projectsbofagfedscoretargetsrccombofagcibgfedspositionsFxPositionTypeEnum.java:49: can not resolve symbol symbol : class HibernateException location: class com.bofa.gcib.gfeds.positions.FxPositionTypeEnum public Object deepCopy(Object value) throws HibernateException ^ C:projectsbofagfedscoretargetsrccombofagcibgfedspositionsFxPositionTypeEnum.java:67: can not resolve symbol symbol : class HibernateException location: class com.bofa.gcib.gfeds.positions.FxPositionTypeEnum public boolean equals(Object x, Object y) throws HibernateException ^ C:projectsbofagfedscoretargetsrccombofagcibgfedspositionsFxPositionTypeEnum.java:83: can not resolve symbol symbol : class HibernateException location: class com.bofa.gcib.gfeds.positions.FxPositionTypeEnum public Object nullSafeGet(ResultSet resultSet, String[] values, Object owner) throws HibernateEx ception, SQLException ^ C:projectsbofagfedscoretargetsrccombofagcibgfedspositionsFxPositionTypeEnum.java:92: can not resolve symbol symbol : class HibernateException location: class com.bofa.gcib.gfeds.positions.FxPositionTypeEnum public void nullSafeSet(PreparedStatement statement, Object value, int index) throws HibernateEx ception, SQLException ^ C:projectsbofagfedscoretargetsrcorgandromdapersistencehibernateusertypesHibernateByteBlo bType.java:15: package net.sf.hibernate does not exist import net.sf.hibernate.UserType; ^ C:projectsbofagfedscoretargetsrcorgandromdapersistencehibernateusertypesHibernateByteBlo bType.java:23: cannot resolve symbol symbol : class UserType location: class org.andromda.persistence.hibernate.usertypes.HibernateByteBlobType implements UserType ^ C:projectsbofagfedscoretargetsrcorgandromdapersistencehibernateusertypesHibernateStringC lobType.java:15: package net.sf.hibernate.type does not exist import net.sf.hibernate.type.ImmutableType; ^ C:projectsbofagfedscoretargetsrcorgandromdapersistencehibernateusertypesHibernateStringC lobType.java:25: cannot resolve symbol symbol : class ImmutableType location: class org.andromda.persistence.hibernate.usertypes.HibernateStringClobType extends ImmutableType ^ Note: C:projectsbofagfedscoretargetsrccombofagcibgfedsCriteriaSearch.java uses or overrid es a deprecated API. Note: Recompile with -deprecation for details. 10 errors BUILD FAILED File...... c:projects.mavencachemaven-multiproject-plugin-1.3.1plugin.jelly Element... maven:reactor Line...... 217 Column.... 9 Unable to obtain goal [multiproject:install-callback] -- c:projects.mavencachemaven-java-plugin- 1.5plugin.jelly:63:48: <ant:javac> Compile failed; see the compiler error output for details. INFO [App] Total time: 26 seconds INFO [App] Finished at: Sun Jun 26 13:01:49 CDT 2005 INFO [App] C:projectsbofagfeds> _________________________________________________________ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1810#1810 Posting to http://forum.andromda.org/ is preferred over posting to the mailing list! ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Andromda-user mailing list Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user