Start the WAR Utility on UNIX
To start the WAR Utility on UNIX or Linux:
- Change to the SERVERHOME/PLATFORM/code/command/ directory.
- Run the setup script as follows:
./war_setup.sh [-OPTION]
The following table describes command-line options that you can pass to the war_setup command:
Command-Line Option Description -c, -createstaticcontentinwar Put static data in the generated .war archive -C, - donotcreatestaticcontentinwar Do not put static data in the generated .war archive -d DOC_INSTALL_PATH, -docinstpath DOC_INSTALL_PATH Path to the installed web application documentation. Is ignored if it contains no documentation files. -e, -createearfile Create an application server archive -E, - donotcreateearfile Do not create an application server archive -h, -help Display online help -i INSTALL_PATH, -instpath INSTALL_PATH Path to the 3DSpace Service (SERVER_INSTALL on Windows or SERVERHOME on UNIX). If you specify this option at the command line, you will not be prompted to enter it again (i.e., Step 1 in Complete the WAR Utility build process is omitted).
-l FILENAME, -logpath FILENAME (lower-case L)
Path to log file If not specified, log output is sent to SERVER_INSTALL\logs\ematrixwar.log by default.
-q, -quiet Quiet install option -s N=V,..., -substitutions N=V,... Define symbols to substitute in fragments. -S SYMBOL, -subseparator SYMBOL Define a separator symbol other than a comma ',' for the substitution list. -v, -verbose Verbose install option -version Display the software version -w WEB_APP_NAME, -webappname WEB_APP_NAME Name of the web application to be deployed. If you specify this option at the command line, you will not be prompted to enter it again (i.e., Step 2 in Complete the WAR Utility build process is omitted).
-z, -createstaticzip Create a .zip file -Z, - donotcreatestaticzip Do not create a .zip file An interactive console window opens with the following text:
Create Matrix EAR and WAR archives ----------------------------------
- Continue with Complete the WAR Utility build process.