sascha@164: For the artifact database
sascha@164: # su - postgres
sascha@164: $ createuser --no-createrole --no-superuser --pwprompt --no-createdb artifacts
sascha@164: $ createdb --encoding=UTF-8 --owner artifacts artifactsdb
sascha@164: 
sascha@164: For the flys database
sascha@164: 
sascha@164: # su - postgres
sascha@164: $ createuser --no-createrole --no-superuser --pwprompt --no-createdb flys
sascha@164: $ createdb --encoding=UTF-8 --owner flys flystest1
felix@4765: 
aheinecke@5054: 
aheinecke@5054: Build an importer package:
aheinecke@5054: mvn -f pom.xml clean compile assembly:single
aheinecke@5054: Alternatively with oracle:
aheinecke@5054: mvn -f pom-oracle.xml clean compile assembly:single
aheinecke@5054: 
felix@4765: Standalone DateGuesser testing example:
felix@4765: 
felix@4765: mvn -e -Dexec.mainClass=de.intevation.flys.utils.DateGuesser -Dexec.args="110803" exec:java <<EOF
felix@4765: 110803
felix@4765: EOF
felix@4765: 
felix@5331: Some importer allow standalone usage:
felix@5331: mvn -e -Dexec.mainClass=de.intevation.flys.importer.parsers.AtFileParser -Dexec.args=/home/felix/.bashrc exec:java