comparison flys-backend/contrib/dump-schema.sh @ 2348:8477965674ce

Added a schema dump shell script. flys-backend/trunk@2889 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 05 Oct 2011 08:33:25 +0000
parents
children
comparison
equal deleted inserted replaced
2347:0acf28a3d28a 2348:8477965674ce
1 #!/bin/bash
2
3 DB_URL=jdbc:postgresql://czech-republic.atlas.intevation.de:5432/flys3
4 DB_USER=flys
5 DB_PASS=flys
6 DB_DIALECT=org.hibernatespatial.oracle.OracleSpatial10gDialect
7
8 mvn compile package -e \
9 -Dlog4j.configuration=file://`readlink -f contrib/log4j.properties` \
10 -Dflys.backend.user=$DB_USER \
11 -Dflys.backend.password=$DB_PASS \
12 -Dflys.backend.dialect=$DB_DIALECT \
13 -Dflys.backend.url=$DB_URL \
14 -Dexec.mainClass=de.intevation.flys.App \
15 exec:java
16

http://dive4elements.wald.intevation.org