redeploy-tomcat.sh 301 B

123456789101112131415
  1. set -v
  2. mvn -DskipTests clean package
  3. # Change the line below to the location of Tomcat built from trunk
  4. TOMCAT=~/Applications/apache-tomcat-trunk/output/build
  5. rm -rf $TOMCAT/webapps/gs-websocket*
  6. cp target/gs-websocket.war $TOMCAT/webapps/
  7. $TOMCAT/bin/shutdown.sh
  8. sleep 3
  9. $TOMCAT/bin/startup.sh