[PATCH 1 of 3] Mention existing script in README

Wald Commits scm-commit at wald.intevation.org
Fri Feb 25 17:19:41 CET 2022


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1645797212 -3600
#      Fri Feb 25 14:53:32 2022 +0100
# Branch 3.2.x
# Node ID 48d14cf857dbb73ab8bf799a033db40aa6ee4e05
# Parent  2a6524b36ab6f476adf56df1aa18d59e8c46dfa1
Mention existing script in README

diff -r 2a6524b36ab6 -r 48d14cf857db README
--- a/README	Mon Mar 22 12:20:54 2021 +0100
+++ b/README	Fri Feb 25 14:53:32 2022 +0100
@@ -1,13 +1,6 @@
 
 Create a new H2 database for usage in the artifact database:
 
-$ mkdir testdb
+$ artifact-database/bin/createArtifacts.sh
 
-$ for i in h2-1.3.152 artifact-database-1.0-SNAPSHOT artifacts-common-1.0-SNAPSHOT log4j-1.2.14 ; do
->    export CLASSPATH=$CLASSPATH:`find ~/.m2/ -name $i.jar`
-> done
-
-$ java org.h2.tools.RunScript \
->    -url jdbc:h2:`readlink -f testdb`/artifacts.db \
->    -script artifact-database/doc/schema-h2.sql
-
+The new database is created in the directory ./artifactsdb.


More information about the Dive4Elements-commits mailing list