Angular JavaEE Configurator (ng-javaee-config)
Tool for generating a war bundle of an agular-cli application
How does it works?
-
Looks for all ts files
-
For each ts file found looks for all "RouterModule.forRoot("
-
Captures all routes or imported route variables
-
Writes the urlrewrite xml file with all the routes found
Asks to override the file (if it already exists)
-
creates a WEB-INF file inside the dist folder with the following structure:
WEB-INF urlrewrite.xml web.xml lib urlrewrite.jar
-
Creates the war file
How to install?
npm i --g @ferreirarod/ng-javaee-config
How to run?
ng-javaee-config