-
Notifications
You must be signed in to change notification settings - Fork 0
/
ant_scripts.xml
28 lines (24 loc) · 1.04 KB
/
ant_scripts.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<project name="auction" basedir=".">
<property name="sql.driver" value="com.mysql.jdbc.Driver"/>
<property name="sql.url" value="jdbc:mysql://localhost:3306/"/>
<property name="sql.user" value="root"/>
<property name="sql.pass" value="dai"/>
<target name="recreateTables_MySQL">
<sql driver="${sql.driver}" url="${sql.url}" userid="${sql.user}" password="${sql.pass}" >
<classpath>
<pathelement location="lib/mysql-connector-java-5.1.6.jar"/>
</classpath>
use auction;
<transaction src="src/sql/recreate_db_and_tables.sql"/>
</sql>
</target>
<target name="recreateTables_MySQL_test">
<sql driver="${sql.driver}" url="${sql.url}" userid="${sql.user}" password="${sql.pass}" >
<classpath>
<pathelement location="lib/mysql-connector-java-5.1.6.jar"/>
</classpath>
use test_auction;
<transaction src="src/sql/test_recreate_db_and_tables.sql"/>
</sql>
</target>
</project>