Skip to content

kaisnb/create-war

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create-War Tool

Tool to create a .war File from commandline.

Installation

Run npm install -D git+https://github.com/kaisnb/create-war.git to install the tool directly from github.

Run

To run the tool call create-war config="path\to\config.json". The command create-war is availabe inside npm scripts.

Configuration

These are all possible configration parameters. They are all required and have no defaults.

{
  "OUT_PATH": "dist/application.war", 
  "INPUT_PATH": "dist/application",
  "DISPLAY_NAME": "Display Name",
  "CONTEXT_ROOT": "/application"
}
  • OUT_PATH — Output path where the .war is placed.

  • INPUT_PATH — Input path to the folder containing your build.

  • DISPLAY_NAME — Content of display-name node inside web.xml.

  • CONTEXT_ROOT — Includes a powerful search engine ([lunr.js]) for easily finding what you're looking for.

License

Everything in this repository is licensed under the MIT License unless otherwise specified.

Copyright (c) 2019 Kai Schönberger

About

Tool to create a .war File from commandline.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published