Mercurial > dive4elements > framework
view artifact-database/bin/createArtifacts.sh @ 570:584591f8203c 3.2.x
Upgrade to Log4j 2
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Mon, 28 Feb 2022 17:41:14 +0100 |
parents | 2b40f4bf190d |
children | 5f09f902dec2 |
line wrap: on
line source
#!/bin/bash mkdir -p artifactsdb DIR=`dirname $0` DIR=`readlink -f "$DIR"` if [ $# != 1 ]; then SCHEMA="$DIR/../doc/schema-h2.sql" else SCHEMA="$1" fi URL="jdbc:h2:`readlink -f artifactsdb`/artifacts" mvn -o -e -Dexec.mainClass=org.h2.tools.RunScript exec:java \ -Dexec.args="-url $URL -script $SCHEMA"