Are both of these hibernate settings required in the core/maven.xml file?


        &nbsp; &nbsp;<ant&#58;java 
classname="net.sf.hibernate.tool.hbm2ddl.SchemaExport" fork="true">

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<ant&#58;pathconvert 
refid="hibernate.mapping.files" property="hibernate.mappings" pathsep=" "/>



&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <ant&#58;arg 
value="--output=$&#123;hibernate.schema.output.dir&#125;/schema-create.sql"/>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <ant&#58;arg value="--text"/>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <ant&#58;arg value="--quiet"/>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <ant&#58;arg value="--delimiter=;"/>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <ant&#58;arg value="--format"/>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <ant&#58;arg 
line="$&#123;hibernate.mappings&#125;"/>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <ant&#58;jvmarg 
value="-Dhibernate.dialect=$&#123;hibernate.db.dialect&#125;"/>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <ant&#58;classpath 
refid="schema.classpath" />

&nbsp; &nbsp; &nbsp; &nbsp; </ant&#58;java>



&nbsp; &nbsp; &nbsp; &nbsp; <ant&#58;java 
classname="org.hibernate.tool.hbm2ddl.SchemaExport" fork="true">

&nbsp; &nbsp; &nbsp; &nbsp; <ant&#58;replaceregexp 
file="$&#123;hibernate.schema.output.dir&#125;/schema-create.sql"

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp;match="^&#40;alter table .* drop constraint|drop table&#41;"

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp;replace="-- SKIP 1"

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp;flags="i"

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp;byline="true"/>



&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <ant&#58;arg 
value="--output=$&#123;hibernate.schema.output.dir&#125;/schema-drop.sql"/>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <ant&#58;arg value="--text"/>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <ant&#58;arg value="--quiet"/>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <ant&#58;arg value="--drop"/>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <ant&#58;arg value="--delimiter=;"/>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <ant&#58;arg value="--format"/>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <ant&#58;arg 
line="$&#123;hibernate.mappings&#125;"/>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <ant&#58;jvmarg 
value="-Dhibernate.dialect=$&#123;hibernate.db.dialect&#125;"/>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <ant&#58;classpath 
refid="schema.classpath" />



&nbsp; &nbsp; &nbsp; &nbsp; </ant&#58;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.



 &nbsp;NOTE&#58; Targetting JVM 1.4, classes

&nbsp; will not run on earlier JVMs



==========================================================



&nbsp; &nbsp; &#91;javac&#93; Compiling 28 source files to 
C&#58;projectsbofagfedscoretargetclasses

C&#58;projectsbofagfedscoretargetsrccombofagcibgfedspositionsFxPositionTypeEnum.java&#58;8&#58;
 pack

age net.sf.hibernate does not exist

import net.sf.hibernate.HibernateException;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; ^

C&#58;projectsbofagfedscoretargetsrccombofagcibgfedspositionsFxPositionTypeEnum.java&#58;22&#58;
 pac

kage net.sf.hibernate does not exist

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;net.sf.hibernate.UserType

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^

C&#58;projectsbofagfedscoretargetsrccombofagcibgfedspositionsFxPositionTypeEnum.java&#58;49&#58;
 can

not resolve symbol

symbol&nbsp; &#58; class HibernateException

location&#58; class com.bofa.gcib.gfeds.positions.FxPositionTypeEnum

&nbsp; &nbsp; public Object deepCopy&#40;Object value&#41; throws 
HibernateException

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; ^

C&#58;projectsbofagfedscoretargetsrccombofagcibgfedspositionsFxPositionTypeEnum.java&#58;67&#58;
 can

not resolve symbol

symbol&nbsp; &#58; class HibernateException

location&#58; class com.bofa.gcib.gfeds.positions.FxPositionTypeEnum

&nbsp; &nbsp; public boolean equals&#40;Object x, Object y&#41; throws 
HibernateException

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^

C&#58;projectsbofagfedscoretargetsrccombofagcibgfedspositionsFxPositionTypeEnum.java&#58;83&#58;
 can

not resolve symbol

symbol&nbsp; &#58; class HibernateException

location&#58; class com.bofa.gcib.gfeds.positions.FxPositionTypeEnum

&nbsp; &nbsp; public Object nullSafeGet&#40;ResultSet resultSet, 
String&#91;&#93; values, Object owner&#41; throws HibernateEx

ception, SQLException

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp;^

C&#58;projectsbofagfedscoretargetsrccombofagcibgfedspositionsFxPositionTypeEnum.java&#58;92&#58;
 can

not resolve symbol

symbol&nbsp; &#58; class HibernateException

location&#58; class com.bofa.gcib.gfeds.positions.FxPositionTypeEnum

&nbsp; &nbsp; public void nullSafeSet&#40;PreparedStatement statement, Object 
value, int index&#41; throws HibernateEx

ception, SQLException

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp;^

C&#58;projectsbofagfedscoretargetsrcorgandromdapersistencehibernateusertypesHibernateByteBlo

bType.java&#58;15&#58; package net.sf.hibernate does not exist

import net.sf.hibernate.UserType;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; ^

C&#58;projectsbofagfedscoretargetsrcorgandromdapersistencehibernateusertypesHibernateByteBlo

bType.java&#58;23&#58; cannot resolve symbol

symbol&nbsp; &#58; class UserType

location&#58; class 
org.andromda.persistence.hibernate.usertypes.HibernateByteBlobType

&nbsp; &nbsp; implements UserType

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^

C&#58;projectsbofagfedscoretargetsrcorgandromdapersistencehibernateusertypesHibernateStringC

lobType.java&#58;15&#58; package net.sf.hibernate.type does not exist

import net.sf.hibernate.type.ImmutableType;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp;^

C&#58;projectsbofagfedscoretargetsrcorgandromdapersistencehibernateusertypesHibernateStringC

lobType.java&#58;25&#58; cannot resolve symbol

symbol&nbsp; &#58; class ImmutableType

location&#58; class 
org.andromda.persistence.hibernate.usertypes.HibernateStringClobType

&nbsp; &nbsp; extends ImmutableType

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ^

Note&#58; 
C&#58;projectsbofagfedscoretargetsrccombofagcibgfedsCriteriaSearch.java uses or 
overrid

es a deprecated API.

Note&#58; Recompile with -deprecation for details.

10 errors



BUILD FAILED

File...... c&#58;projects.mavencachemaven-multiproject-plugin-1.3.1plugin.jelly

Element... maven&#58;reactor

Line...... 217

Column.... 9

Unable to obtain goal &#91;multiproject&#58;install-callback&#93; -- 
c&#58;projects.mavencachemaven-java-plugin-

1.5plugin.jelly&#58;63&#58;48&#58; <ant&#58;javac> Compile failed; see the 
compiler error output for details.

INFO&nbsp; &#91;App&#93; Total time&#58; 26 seconds

INFO&nbsp; &#91;App&#93; Finished at&#58; Sun Jun 26 13&#58;01&#58;49 CDT 2005

INFO&nbsp; &#91;App&#93;

C&#58;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

Reply via email to