[PATCH] Do not give Oracle-JARs with hardcoded personal path in release script

Wald Commits scm-commit at wald.intevation.org
Thu Dec 4 13:00:26 CET 2014


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1417694423 -3600
# Node ID 76994a0187fadc237838998a6399f1a903e9eb04
# Parent  07a369e6e2773caa6d94c114b1af8ccfd33812a5
Do not give Oracle-JARs with hardcoded personal path in release script.

diff -r 07a369e6e277 -r 76994a0187fa contrib/make_flys_release/make_release.sh
--- a/contrib/make_flys_release/make_release.sh	Thu Dec 04 11:38:18 2014 +0100
+++ b/contrib/make_flys_release/make_release.sh	Thu Dec 04 13:00:23 2014 +0100
@@ -24,9 +24,6 @@
 # Do not use spaces in path
 FLYS_SOURCE_DIR=/local-vol1/aheinecke/flys-release
 
-ORACLE_HIBERNATE=$FLYS_SOURCE_DIR/hibernate-spatial-oracle-1.1.jar
-ORACLE_JDBC=$FLYS_SOURCE_DIR/ojdbc5.jar
-
 SCRIPT_DIR=$(readlink -f `dirname $0`)
 usage(){
     cat << EOF
@@ -36,11 +33,14 @@
 Create a flys package
 
 OPTIONS:
-   -?, --help                      Show this message
-   -w                              The working directory to use. (do not use spaces in path)
-                                   Default: $DEFAULT_WD
-   -t                              Tag the current default branch as "VERSION"
-   -o, --oracle                    Release is for oracle.
+   -?, --help          Show this message
+   -w                  The working directory to use (do not use spaces in path)
+                       Default: $DEFAULT_WD
+   -t                  Tag the current default branch as "VERSION"
+   -o, --oracle        Release is for oracle.
+                       Suitable jar-files for JDBC driver and
+                       hibernate-spatial have to be given with the
+                       environment variables ORACLE_JDBC and ORACLE_HIBERNATE
    VERSION must be in the format MAYOR.MINOR.PATCH or default
 EOF
 exit 0


More information about the Dive4Elements-commits mailing list