Tool to create a .war File from commandline.
Run npm install -D git+https://github.com/kaisnb/create-war.git
to install the tool directly from github.
To run the tool call create-war config="path\to\config.json"
. The command create-war
is availabe inside npm scripts.
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.
Everything in this repository is licensed under the MIT License unless otherwise specified.
Copyright (c) 2019 Kai Schönberger