Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

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
Release History

Release History

This version
History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
c2c.recipe.jarfile-0.4.3.tar.gz (2.9 kB) Copy SHA256 Checksum SHA256 Source Feb 7, 2011

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting