Mercurial > dive4elements > river
comparison contrib/make_flys_release/make_release.sh @ 5086:4f65d833680f dami
Merge Default onto Dami branch.
Dami is now temporarily a public merge branch to fix problems
created by the merge.
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Mon, 25 Feb 2013 11:50:13 +0100 |
parents | 8118f9b0ee7b |
children | 15ff9ddc765e |
comparison
equal
deleted
inserted
replaced
5085:4f46679e13d0 | 5086:4f65d833680f |
---|---|
15 DIRECTORY=$PREFIX$RELEASE-$RELEASE_DATE | 15 DIRECTORY=$PREFIX$RELEASE-$RELEASE_DATE |
16 | 16 |
17 ARTIFACT_PORT=${ARTIFACT_PORT:-9002} | 17 ARTIFACT_PORT=${ARTIFACT_PORT:-9002} |
18 TOMCAT_PORT=${TOMCAT_PORT:-8005} | 18 TOMCAT_PORT=${TOMCAT_PORT:-8005} |
19 | 19 |
20 MAPSERVER_URL=${MAPSERVER_URL:-czech-republic.intevation.de} | 20 MAPSERVER_URL=${MAPSERVER_URL:-czech-republic.atlas.intevation.de} |
21 | 21 |
22 echo "INFO: create server directories" | 22 echo "INFO: create server directories" |
23 mkdir -p $DIRECTORY/server/bin/lib/own | 23 mkdir -p $DIRECTORY/server/bin/lib/own |
24 mkdir $DIRECTORY/server/shapefiles | 24 mkdir $DIRECTORY/server/shapefiles |
25 mkdir $DIRECTORY/client | 25 mkdir $DIRECTORY/client |
100 | 100 |
101 sed "s/8999/$ARTIFACT_PORT/g" \ | 101 sed "s/8999/$ARTIFACT_PORT/g" \ |
102 confs/rest-server.xml \ | 102 confs/rest-server.xml \ |
103 > $DIRECTORY/server/conf/rest-server.xml | 103 > $DIRECTORY/server/conf/rest-server.xml |
104 | 104 |
105 sed -e "s@http://czech-republic.intevation.de/@http://${MAPSERVER_URL}/@g" \ | 105 sed -e "s@http://example.com/@http://${MAPSERVER_URL}/@g" \ |
106 -e "s@flys-default@flys-${RELEASE}@g" \ | |
107 confs/floodmap.xml \ | 106 confs/floodmap.xml \ |
108 > $DIRECTORY/server/conf/floodmap.xml | 107 > $DIRECTORY/server/conf/floodmap.xml |
108 | |
109 sed -e "s@http://example.com/@http://${MAPSERVER_URL}/@g" \ | |
110 confs/rivermap.xml \ | |
111 > $DIRECTORY/server/conf/rivermap.xml | |
112 | |
109 | 113 |
110 sed "s@/tmp/flys-server-default.log@/tmp/flys-server-${RELEASE}.log" \ | 114 sed "s@/tmp/flys-server-default.log@/tmp/flys-server-${RELEASE}.log" \ |
111 confs/log4j.properties \ | 115 confs/log4j.properties \ |
112 > $DIRECTORY/server/conf/log4j.properties | 116 > $DIRECTORY/server/conf/log4j.properties |
113 | 117 |