Skip to main content

A buildout recipe to create or update jar archive file.

Project description

A buildout recipe to create or update jar archive file.


Requires zc.buildout and the ‘jar’ command.


Create a buildout.cfg file which contains the following:

parts = updatewar

recipe = c2c.recipe.jarfile
basedir = foo/bar/
input = base.war *.png baz/config.yaml WEB-INF/
output = /path/to/tomcat/webapps/foobar.war
mode = update


  • ‘basedir’ is the directory where the jar will be created.
  • ‘input’ items are the files to be included in the final jar, they must be relative to ‘basedir’.
  • ‘output’ is the jar destination (eg. a tomcat webapps directory)
  • ‘mode’ [create|update] create a new archive using all the files in ‘input’ or create an updated version of the first item of ‘input’ using the rest of the files
  • jar cmd in config file

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for c2c.recipe.jarfile, version 0.4.3
Filename, size & hash File type Python version Upload date
c2c.recipe.jarfile-0.4.3.tar.gz (2.9 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page