<fileset dir="${splat.dist.dir}" includes="**/*" />
</delete>
</target>
+
+ <!-- ================================================= -->
+ <!-- prepare-postgres: Prepare test config for Postgress -->
+ <!-- ================================================= -->
+ <target name="prepare-test-postgres" description="prepare test configuration for Postgress">
+ <echo message="Prepare test configuration for Postgress..." />
+ <copy file="src/test/pg_jdbc.properties" tofile="src/test/jdbc.properties" overwrite="true"/>
+ <copy file="src/test/pg_hibernate.properties" tofile="src/test/hibernate.properties" overwrite="true"/>
+ </target>
+
+ <!-- ================================================= -->
+ <!-- prepare-postgres: Prepare test config for MySql -->
+ <!-- ================================================= -->
+ <target name="prepare-mysql" description="prepare test configuration for MySql">
+ <echo message="Prepare test configuration for MySql..." />
+ <copy file="src/test/mysql_jdbc.properties" tofile="src/test/jdbc.properties" overwrite="true"/>
+ <copy file="src/test/mysql_hibernate.properties" tofile="src/test/hibernate.properties" overwrite="true"/>
+ </target>
</project>
--- /dev/null
+# Generated at 24/11/2012 09:29:26
+# Don't edit manually. See the source in C:\work\Siman\SIMAN_SRC\Workspace\Siman\conf\templates.
+# Connection properties
+connection.driver_class=com.mysql.jdbc.Driver
+
+# Hibernate config
+hibernate.hbm2ddl.auto=update
+hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect
+hibernate.current_session_context_class=thread
+
+# Log properties
+hibernate.show_sql=true
--- /dev/null
+# Generated at 26/11/2012 09:23:45
+# Don't edit manually. See the source in D:\users\rkv\SIMAN\SIMAN_SRC\Workspace\Siman\conf\templates.
+# Connection properties
+connection.url=jdbc:mysql://localhost/siman_unit_tests
+connection.username=simer
+connection.password=admin
+connection.driver_class=com.mysql.jdbc.Driver