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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file c2c.recipe.jarfile-0.4.3.tar.gz
.
File metadata
- Download URL: c2c.recipe.jarfile-0.4.3.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e7ded2f7940ae33669f06ea10986ac7a29e13814bbc8188d4f6533bb3ec36ad |
|
MD5 | c02c495a61a2ccabc8d13e5d19435a00 |
|
BLAKE2b-256 | d75cdea8b44b681b7647ec94d232c8db60873ff60a2b650dad202630c836b063 |