From: Christoph S. <ch...@sc...> - 2002-02-28 19:22:10
|
Hi gavin, all it was actually really easy, i paste it here in case someone else needs it, or you even want to put it into the tools section. <target name="initdb" depends="compile"> <java classname="cirrus.hibernate.tools.DBSchemaExport" fork="true"> <!-- mapping file --> <arg value="/projects/smis/src/resources/web/WEB-INF/mapping.xml"/> <jvmarg value="-Dhibernate.dialect=cirrus.hibernate.sql.SybaseDialect"/> <jvmarg value="-Dhibernate.driver=com.inet.tds.TdsDriver"/> <jvmarg value="-Dhibernate.url=jdbc:inetdae:localhost:1433"/> <jvmarg value="-Dhibernate.username=xxx"/> <jvmarg value="-Dhibernate.password=xxx"/> <classpath> <fileset dir="${basedir}/lib"> <include name="**/*.jar" /> </fileset> <!-- build output path --> <pathelement location="${build.dir}/classes/web/WEB-INF/classes"/> </classpath> </java> </target> Gavin_King/Cirrus%CI...@ci... wrote: > >Do we need to write an ant task for this? > >It ssupposed to be not too difficult but im not an ant expert myself. > > >_______________________________________________ >Hibernate-devel mailing list >Hib...@li... >https://lists.sourceforge.net/lists/listinfo/hibernate-devel > > |