Skip to content

alokhm/java-multi-jar-buildpack

Cloud Foundry Java Multi-war Buildpack

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.

Usage

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.git

Testing using Vagrant

Bring up the vagrant virtual machine and ssh into it.

vagrant up
vagrant ssh

Run 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/release

Connect to the Tomcat instance on port 12345 on your local machine.

http://localhost:12345

About

No description, website, or topics provided.

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 13