comparison contrib/make_flys_release/make_release.sh @ 8494:76994a0187fa

Do not give Oracle-JARs with hardcoded personal path in release script.
author Tom Gottfried <tom@intevation.de>
date Thu, 04 Dec 2014 13:00:23 +0100
parents 07a369e6e277
children dc0351c5d098
comparison
equal deleted inserted replaced
8493:07a369e6e277 8494:76994a0187fa
22 22
23 REPOS="river http-client framework" 23 REPOS="river http-client framework"
24 # Do not use spaces in path 24 # Do not use spaces in path
25 FLYS_SOURCE_DIR=/local-vol1/aheinecke/flys-release 25 FLYS_SOURCE_DIR=/local-vol1/aheinecke/flys-release
26 26
27 ORACLE_HIBERNATE=$FLYS_SOURCE_DIR/hibernate-spatial-oracle-1.1.jar
28 ORACLE_JDBC=$FLYS_SOURCE_DIR/ojdbc5.jar
29
30 SCRIPT_DIR=$(readlink -f `dirname $0`) 27 SCRIPT_DIR=$(readlink -f `dirname $0`)
31 usage(){ 28 usage(){
32 cat << EOF 29 cat << EOF
33 30
34 usage: $0 [options] VERSION 31 usage: $0 [options] VERSION
35 32
36 Create a flys package 33 Create a flys package
37 34
38 OPTIONS: 35 OPTIONS:
39 -?, --help Show this message 36 -?, --help Show this message
40 -w The working directory to use. (do not use spaces in path) 37 -w The working directory to use (do not use spaces in path)
41 Default: $DEFAULT_WD 38 Default: $DEFAULT_WD
42 -t Tag the current default branch as "VERSION" 39 -t Tag the current default branch as "VERSION"
43 -o, --oracle Release is for oracle. 40 -o, --oracle Release is for oracle.
41 Suitable jar-files for JDBC driver and
42 hibernate-spatial have to be given with the
43 environment variables ORACLE_JDBC and ORACLE_HIBERNATE
44 VERSION must be in the format MAYOR.MINOR.PATCH or default 44 VERSION must be in the format MAYOR.MINOR.PATCH or default
45 EOF 45 EOF
46 exit 0 46 exit 0
47 } 47 }
48 # --backend-db-url Url of database backend. Default: $BACKENDURL 48 # --backend-db-url Url of database backend. Default: $BACKENDURL

http://dive4elements.wald.intevation.org