Subversion Repositories SmartDukaan

Rev

Rev 18368 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 18368 Rev 18369
Line 98... Line 98...
98
rm -rf /var/lib/tomcat6/webapps/ROOT*
98
rm -rf /var/lib/tomcat6/webapps/ROOT*
99
cp /catalog-dumps/${LATEST_BUILD}/Website-1.0-SNAPSHOT.war ${TOMCAT_HOME}/webapps/ROOT.war
99
cp /catalog-dumps/${LATEST_BUILD}/Website-1.0-SNAPSHOT.war ${TOMCAT_HOME}/webapps/ROOT.war
100
rm -rf /var/lib/tomcat6/webapps/mobileapi*
100
rm -rf /var/lib/tomcat6/webapps/mobileapi*
101
cp /catalog-dumps/${LATEST_BUILD}/MobileWebsiteApi-1.0-SNAPSHOT.war ${TOMCAT_HOME}/webapps/mobileapi.war
101
cp /catalog-dumps/${LATEST_BUILD}/MobileWebsiteApi-1.0-SNAPSHOT.war ${TOMCAT_HOME}/webapps/mobileapi.war
102
/etc/init.d/tomcat7 restart
102
/etc/init.d/tomcat7 restart
103
sleep 5
103
sleep 15
104
echo "Deployed wars"
104
echo "Deployed wars"
105
echo "======================================================================="
105
echo "======================================================================="
106
 
106
 
107
 
107
 
108
if [ ${STATIC_SERVER} ]
108
if [ ${STATIC_SERVER} ]