Mercurial > dive4elements > framework
view artifact-database/bin/createArtifacts.sh @ 568:5cd1c627cda9 3.2.x
Rely on log4j's default initialization procedure
This should make upgrading to Log4j 2.x easier.
In passing, use latest Log4j 1.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Fri, 25 Feb 2022 15:01:23 +0100 |
parents | 8bf00b8266fe |
children | 2b40f4bf190d |
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 -e -Dexec.mainClass=org.h2.tools.RunScript exec:java \ -Dexec.args="-url $URL -script $SCHEMA"