ssl to database

This commit is contained in:
Peter Hormanns 2011-12-19 14:10:37 +00:00
parent 5646148b7e
commit e0f257adea

View File

@ -119,13 +119,13 @@
<sql
classpath="/usr/share/java/postgresql-jdbc3.jar"
driver="org.postgresql.Driver"
url="jdbc:postgresql://localhost:5432/${database.name}"
url="jdbc:postgresql://${database.host}:5432/${database.name}"
userid="${database.user}" password="${database.password}"
src="database/schema.sql" />
<sql
classpath="/usr/share/java/postgresql-jdbc3.jar"
driver="org.postgresql.Driver"
url="jdbc:postgresql://localhost:5432/${database.name}"
url="jdbc:postgresql://${database.host}:5432/${database.name}"
userid="${database.user}" password="${database.password}"
src="database/data.sql" />
</target>
@ -134,9 +134,11 @@
<sql
classpath="/usr/share/java/postgresql-jdbc3.jar"
driver="org.postgresql.Driver"
url="jdbc:postgresql://localhost:5432/${database.name}"
url="jdbc:postgresql://${database.host}:5432/${database.name}"
userid="${database.user}" password="${database.password}"
src="database/dropschema.sql" />
src="database/dropschema.sql">
<connectionProperty name="ssl" value="true" />
</sql>
</target>
<target name="remote-test" description="inspection of xmlrpc-api" depends="compile-test">