Also right now we are using SchemaExport to generate hbms, but since there are 
specific ant task to do this, you could try doing this way:



ie.



&nbsp;<taskdef name="schemaexport"

&nbsp; &nbsp; &nbsp;classname="net.sf.hibernate.tool.hbm2ddl.SchemaExportTask"

&nbsp; &nbsp; &nbsp;classpathref="class.path"/>



&nbsp;<schemaexport

&nbsp; &nbsp; 
&nbsp;properties="$&#123;build.classes.dir&#125;/hibernate.properties"

&nbsp; &nbsp; &nbsp;quiet="no"

&nbsp; &nbsp; &nbsp;text="no"

&nbsp; &nbsp; &nbsp;drop="no"

&nbsp; &nbsp; &nbsp;delimiter=";"

&nbsp; &nbsp; &nbsp;output="$&#123;build.dir&#125;/schema-export.sql">

&nbsp; &nbsp; &nbsp;<fileset dir="$&#123;build.classes.dir&#125;">

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

&nbsp; &nbsp; &nbsp;</fileset>

&nbsp;</schemaexport>

&nbsp;
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=3752#3752
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to