Adds war/zip support to brunch.
The plugin will zip or create war after the compilation. You can also add a folder to include like /WEB-INF etc... Delete generation after build
Install the plugin via npm with :
$ npm install --save war-brunch
This plugin works only when optimized option is passed.
$ brunch build --production
To specify war options, use config.plugins.war
object.
config =
plugins:
war:
outputFile:'fileToDeploy.war'
pathInclude:'deploy'
cleanGenerated:true
- default
war.outputfile | ROOT.WAR |
---|---|
war.pathInclude | undefined |
war.cleanGenerated | false |
The MIT License (MIT)
Copyright (c) 2013 Julien Meerschart