Mercurial > dive4elements > river
comparison flys-backend/README @ 5054:790353fadf30 dami
Add minimal documenation how to build the single jar
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Wed, 20 Feb 2013 12:22:02 +0100 |
parents | 90142c839fe5 |
children | 95af0f3aabfb |
comparison
equal
deleted
inserted
replaced
5053:61be4813eb13 | 5054:790353fadf30 |
---|---|
7 | 7 |
8 # su - postgres | 8 # su - postgres |
9 $ createuser --no-createrole --no-superuser --pwprompt --no-createdb flys | 9 $ createuser --no-createrole --no-superuser --pwprompt --no-createdb flys |
10 $ createdb --encoding=UTF-8 --owner flys flystest1 | 10 $ createdb --encoding=UTF-8 --owner flys flystest1 |
11 | 11 |
12 | |
13 Build an importer package: | |
14 mvn -f pom.xml clean compile assembly:single | |
15 Alternatively with oracle: | |
16 mvn -f pom-oracle.xml clean compile assembly:single | |
17 | |
12 Standalone DateGuesser testing example: | 18 Standalone DateGuesser testing example: |
13 | 19 |
14 mvn -e -Dexec.mainClass=de.intevation.flys.utils.DateGuesser -Dexec.args="110803" exec:java <<EOF | 20 mvn -e -Dexec.mainClass=de.intevation.flys.utils.DateGuesser -Dexec.args="110803" exec:java <<EOF |
15 110803 | 21 110803 |
16 EOF | 22 EOF |