Subversion Repositories SmartDukaan

Rev

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

Rev 1652 Rev 1741
Line 50... Line 50...
50
 
50
 
51
echo "Starting Tomcat"
51
echo "Starting Tomcat"
52
echo "======================================================================="
52
echo "======================================================================="
53
# deploy war and start tomcat
53
# deploy war and start tomcat
54
/etc/init.d/tomcat6 stop
54
/etc/init.d/tomcat6 stop
55
rm -rf ${TOMCAT_HOME}/webapps/ROOT* ${TOMCAT_HOME}/webapps/Support*
55
rm -rf ${TOMCAT_HOME}/webapps/ROOT* ${TOMCAT_HOME}/webapps/Support* ${TOMCAT_HOME}/webapps/Social*
56
cp ${MAVEN_REPO}/in/shop2020/Website/1.0-SNAPSHOT/Website-1.0-SNAPSHOT.war ${TOMCAT_HOME}/webapps/ROOT.war
56
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/Support/1.0-SNAPSHOT/Support-1.0-SNAPSHOT.war ${TOMCAT_HOME}/webapps/Support.war
57
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/Social/1.0-SNAPSHOT/Social-1.0-SNAPSHOT.war ${TOMCAT_HOME}/webapps/Social.war
58
/etc/init.d/tomcat6 start
59
/etc/init.d/tomcat6 start
59
sleep 5
60
sleep 5
60
echo "Started tomcat"
61
echo "Started tomcat"
61
echo "======================================================================="
62
echo "======================================================================="
62
 
63