This buildpack is a fork of the official Cloud Foundry java buildpack which has been extended to support deploying multiple .war files to Tomcat, either individually or zipped up in one or more zip files.
To use this buildpack specify the URI of the repository when pushing an application to Cloud Foundry:
cf push <APP-NAME> -p <ARTIFACT> -b https://github.com/venkytv/java-buildpack.gitBring up the vagrant virtual machine and ssh into it.
vagrant up
vagrant sshRun the detect, compile and release commands within the vagrant machine.
cd /vagrant/<directory-containing-war-or-zip-files>
/vagrant/vagrant/run/detect
/vagrant/vagrant/run/compile
/vagrant/vagrant/run/releaseConnect to the Tomcat instance on port 12345 on your local machine.