blob: aca557f36e8e09a5bf403056a572ab94d0134f35 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/bin/bash
fillTemplateProperties() {
source /tmp/vid/localize_war.sh $1 || {
echo "ERROR: Localization script failed"
exit 2
}
}
deployWarOnTomcatManually() {
cd /usr/local/tomcat/webapps/
mkdir vid
cd vid
jar -xf /tmp/vid/stage/vid.war
}
deployWarOnTomcatManually
TEMPLATES_BASE_DIR=/usr/local/tomcat/webapps/vid/WEB-INF
fillTemplateProperties ${TEMPLATES_BASE_DIR}
catalina.sh run
|