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.

Requirements

Requires zc.buildout and the ‘jar’ command.

Usage

Create a buildout.cfg file which contains the following:

[buildout]
parts = updatewar

[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

Where:

  • ‘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

TODO:
  • 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.

Source Distribution

c2c.recipe.jarfile-0.4.2.tar.gz (2.8 kB view details)

Uploaded Source

File details

Details for the file c2c.recipe.jarfile-0.4.2.tar.gz.

File metadata

File hashes

Hashes for c2c.recipe.jarfile-0.4.2.tar.gz
Algorithm Hash digest
SHA256 c515f10c2e6bb07e69a7a93a10f6c5dc453496267ffb13a2333574e0cb00b096
MD5 f40b56947f0ae35674a564f4c38cfef4
BLAKE2b-256 ff57ce4b449c9071899e20a75b08a767a4992c9d739bc7fa46741e5a900c530e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page