Skip to content
This repository has been archived by the owner on Oct 26, 2018. It is now read-only.

camptocamp/c2c.recipe.jarfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

c2c.recipe.jarfile

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

About

A buildout recipe to create or update jar archive file.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages