Subversion Repositories SmartDukaan

Rev

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

Rev 2863 Rev 2903
Line 67... Line 67...
67
echo "======================================================================="
67
echo "======================================================================="
68
# deploy war and start tomcat
68
# deploy war and start tomcat
69
/etc/init.d/tomcat6 stop
69
/etc/init.d/tomcat6 stop
70
rm -rf ${TOMCAT_HOME}/webapps/ROOT* ${TOMCAT_HOME}/webapps/Support* ${TOMCAT_HOME}/webapps/Social* ${TOMCAT_HOME}/webapps/crm*
70
rm -rf ${TOMCAT_HOME}/webapps/ROOT* ${TOMCAT_HOME}/webapps/Support* ${TOMCAT_HOME}/webapps/Social* ${TOMCAT_HOME}/webapps/crm*
71
cp ${MAVEN_REPO}/in/shop2020/Website/1.0-SNAPSHOT/Website-1.0-SNAPSHOT.war ${TOMCAT_HOME}/webapps/ROOT.war
71
cp ${MAVEN_REPO}/in/shop2020/Website/1.0-SNAPSHOT/Website-1.0-SNAPSHOT.war ${TOMCAT_HOME}/webapps/ROOT.war
72
cp ${MAVEN_REPO}/in/shop2020/Support/1.0-SNAPSHOT/Support-1.0-SNAPSHOT.war ${TOMCAT_HOME}/webapps/Support.war
-
 
73
cp ${MAVEN_REPO}/in/shop2020/Social/1.0-SNAPSHOT/Social-1.0-SNAPSHOT.war ${TOMCAT_HOME}/webapps/Social.war
72
cp ${MAVEN_REPO}/in/shop2020/Social/1.0-SNAPSHOT/Social-1.0-SNAPSHOT.war ${TOMCAT_HOME}/webapps/Social.war
74
cp ${MAVEN_REPO}/in/shop2020/Crm/1.0-SNAPSHOT/Crm-1.0-SNAPSHOT.war ${TOMCAT_HOME}/webapps/crm.war
-
 
75
/etc/init.d/tomcat6 start
73
/etc/init.d/tomcat6 start
76
/etc/init.d/apache2 restart
74
/etc/init.d/apache2 restart
77
sleep 5
75
sleep 5
78
echo "Started tomcat"
76
echo "Started tomcat"
79
echo "======================================================================="
77
echo "======================================================================="