Hi Chad,


please have a look at my core/maven.xml:



<project default="ejb&#58;install"

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;xmlns&#58;ant="jelly&#58;ant"

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;xmlns&#58;maven="jelly&#58;maven">



&nbsp; &nbsp; <postGoal name="jar&#58;jar">



&nbsp; &nbsp; &nbsp; &nbsp; <ant&#58;path id="schema.classpath">

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <ant&#58;path 
refid="maven.dependency.classpath"/>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <ant&#58;path 
location="$&#123;maven.build.dest&#125;"/>

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



&nbsp; &nbsp; &nbsp; &nbsp; <ant&#58;mkdir 
dir="$&#123;hibernate.schema.output.dir&#125;"/>



&nbsp; &nbsp; &nbsp; &nbsp; <ant&#58;fileset id="hibernate.mapping.files" 
dir="$&#123;maven.build.src&#125;">

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <ant&#58;include name="**/*.hbm.xml"/>

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



&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;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>



&nbsp; &nbsp; </postGoal>



</project>



the two "</ant:java>"-tags have no beginning tag! I just had a look at some old 
file, but I'm not sure what I have to put in there?! 



Can you tell me what I have to put in there in detail?



<ant:java ....>



Is it a bug in the generator plugin?



Thanks

Timo
--
...and that's the way the cookie crumbles
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1596#1596
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