Mercurial > dive4elements > river
comparison contrib/make_flys_release/make_release.sh @ 4651:83a42e6a562d
Added view for selecting ranges in wsts.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Thu, 06 Dec 2012 17:30:09 +0100 |
parents | f91260ccef03 |
children | 8118f9b0ee7b |
comparison
equal
deleted
inserted
replaced
4650:31327b3b2455 | 4651:83a42e6a562d |
---|---|
86 #echo "INFO: remove PostgreSQL and PostGIS libraries" | 86 #echo "INFO: remove PostgreSQL and PostGIS libraries" |
87 #rm $DIRECTORY/server/bin/lib/postg* | 87 #rm $DIRECTORY/server/bin/lib/postg* |
88 #rm $DIRECTORY/server/bin/lib/hibernate-spatial-postgis* | 88 #rm $DIRECTORY/server/bin/lib/hibernate-spatial-postgis* |
89 | 89 |
90 echo "INFO: remove Oralce libraries" | 90 echo "INFO: remove Oralce libraries" |
91 rm $DIRECTORY/server/bin/lib/hibernate-spatial-oracle-1.1.jar | 91 rm -f $DIRECTORY/server/bin/lib/hibernate-spatial-oracle-1.1.jar |
92 rm $DIRECTORY/server/bin/lib/ojdbc* | 92 rm -f $DIRECTORY/server/bin/lib/ojdbc* |
93 | 93 |
94 # fetch the configuration stuff | 94 # fetch the configuration stuff |
95 echo "INFO: copy default configuration to target destination" | 95 echo "INFO: copy default configuration to target destination" |
96 cp -R $FLYS_HG/flys-artifacts/doc/conf $DIRECTORY/server/ | 96 cp -R $FLYS_HG/flys-artifacts/doc/conf $DIRECTORY/server/ |
97 | 97 |
98 #cp confs/* $DIRECTORY/server/conf/ | 98 #cp confs/* $DIRECTORY/server/conf/ |
99 mkdir -o $DIRECTORY/server/conf | 99 mkdir -p $DIRECTORY/server/conf |
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 "s@http://czech-republic.intevation.de/@http://${MAPSERVER_URL}/@g" \ | 105 sed -e "s@http://czech-republic.intevation.de/@http://${MAPSERVER_URL}/@g" \ |
106 "s@flys-default@flys-$RELEASE@g" \ | 106 -e "s@flys-default@flys-${RELEASE}@g" \ |
107 confs/floodmap.xml \ | 107 confs/floodmap.xml \ |
108 > $DIRECTORY/server/conf/floodmap.xml | 108 > $DIRECTORY/server/conf/floodmap.xml |
109 | 109 |
110 sed "s@/tmp/flys-server-default.log@/tmp/flys-server-${RELEASE}.log" \ | 110 sed "s@/tmp/flys-server-default.log@/tmp/flys-server-${RELEASE}.log" \ |
111 confs/log4j.properties \ | 111 confs/log4j.properties \ |