VM Config:VM Config Main/FFL2 Code and Deployment

From FFL Wiki
Revision as of 10:52, 10 June 2010 by Phallus (talk | contribs) (Created page with 'FFL2 code is checked out to /etc/fantacy A script /etc/fantacy/build_and_deploy.sh is used to ... build and deploy FFL2 #!/bin/bash cd /etc/fantacy/workspace/fantacybuild an…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

FFL2 code is checked out to /etc/fantacy

A script /etc/fantacy/build_and_deploy.sh is used to ... build and deploy FFL2

#!/bin/bash
cd /etc/fantacy/workspace/fantacybuild
ant clean web.war
cd /opt/apache-tomcat-6.0.26/bin
./shutdown.sh
cd ../webapps
rm fantacyweb.war
rm -r fantacyweb
cp /etc/fantacy/workspace/fantacybuild/build/web/dist/fantacyweb.war .
cd ../bin
./startup.sh