Subversion Repositories SmartDukaan

Rev

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

Rev 2002 Rev 2713
Line 51... Line 51...
51
 
51
 
52
echo "Starting Tomcat"
52
echo "Starting Tomcat"
53
echo "======================================================================="
53
echo "======================================================================="
54
# deploy war and start tomcat
54
# deploy war and start tomcat
55
/etc/init.d/tomcat6 stop
55
/etc/init.d/tomcat6 stop
56
rm -rf ${TOMCAT_HOME}/webapps/ROOT* ${TOMCAT_HOME}/webapps/Support* ${TOMCAT_HOME}/webapps/Social*
56
rm -rf ${TOMCAT_HOME}/webapps/ROOT* ${TOMCAT_HOME}/webapps/Support* ${TOMCAT_HOME}/webapps/Social* ${TOMCAT_HOME}/webapps/crm*
57
cp ${MAVEN_REPO}/in/shop2020/Website/1.0-SNAPSHOT/Website-1.0-SNAPSHOT.war ${TOMCAT_HOME}/webapps/ROOT.war
57
cp ${MAVEN_REPO}/in/shop2020/Website/1.0-SNAPSHOT/Website-1.0-SNAPSHOT.war ${TOMCAT_HOME}/webapps/ROOT.war
58
cp ${MAVEN_REPO}/in/shop2020/Support/1.0-SNAPSHOT/Support-1.0-SNAPSHOT.war ${TOMCAT_HOME}/webapps/Support.war
58
cp ${MAVEN_REPO}/in/shop2020/Support/1.0-SNAPSHOT/Support-1.0-SNAPSHOT.war ${TOMCAT_HOME}/webapps/Support.war
59
cp ${MAVEN_REPO}/in/shop2020/Social/1.0-SNAPSHOT/Social-1.0-SNAPSHOT.war ${TOMCAT_HOME}/webapps/Social.war
59
cp ${MAVEN_REPO}/in/shop2020/Social/1.0-SNAPSHOT/Social-1.0-SNAPSHOT.war ${TOMCAT_HOME}/webapps/Social.war
-
 
60
cp ${MAVEN_REPO}/in/shop2020/Crm/1.0-SNAPSHOT/Crm-1.0-SNAPSHOT.war ${TOMCAT_HOME}/webapps/crm.war
60
/etc/init.d/tomcat6 start
61
/etc/init.d/tomcat6 start
61
sleep 5
62
sleep 5
62
echo "Started tomcat"
63
echo "Started tomcat"
63
echo "======================================================================="
64
echo "======================================================================="
64
 
65