SECURITY NOTE: MAVEN should NEVER be TRUSTED with the privileges to run as ROOT.
#!/bin/sh cd ~/tDAR/ svn update . mvn clean compile war:war -Palpha sudo service tomcat6 stop sudo rm -Rrf ~tdar/app/ROOT sudo service tomcat6 restart |
#!/bin/sh cd ~/tDAR/ svn update . mvn clean compile war:war -Pproduction sudo service tomcat6 stop sudo rm -Rrf ~tdar/app/ROOT sudo service tomcat6 restart |