blob: 3966f70238b7f4bea76a6cc34e96ec8c4480fc4a [file] [log] [blame]
DR695H13ce0552017-02-07 13:11:03 -05001#!/bin/bash
2
3#Extract the WAR so it can be customized by the localization script
4cd /tmp/vid/stage
5jar -xf vid.war
6
7source /tmp/vid/localize_war.sh || {
8 echo "ERROR: Localization script failed"
9 exit 2
10}
11
12#Create the customized WAR and deploy it to Tomcat
13mkdir -p /tmp/vid/deployed
14cd /tmp/vid/stage
15jar -cvf /tmp/vid/deployed/vid.war .
16cd
17mv -f /tmp/vid/deployed/vid.war /usr/local/tomcat/webapps
18catalina.sh run