2.2.7 wsdeploy
Generates a deployable WAR file for a service.
Synopsis
wsdeploy [OPTION] war file OPTION: [-classpath path] [-keep] [-o output war file] [-tmpdir directory] [-verbose={false|true}] [-version]
Storage location
Application Server installation directory/javaee/glassfish/bin
Function
The wsdeploy command generates a deployable WAR file for a service. This tool takes a WAR file as an input for the service.
Execution permission
Superuser
Files
The tool takes as input a WAR file and generates a deployable WAR file.
Arguments
- -classpath path
-
Specifies the path of input class files.
Type: String
The following values can be specified:
-
Path for the class files
Default value: N/A
-
- -keep
-
Stores the temporary files.
- -o output war file
-
Specifies where to place the generated war file.
Type: String
The following values can be specified:
-
Path to place the WAR file
Default value: N/A
-
- -tmpdir directory
-
Specifies the temporary directory to use.
Type: String
The following values can be specified:
-
Directory Name with path
Default value: N/A
-
- -verbose={false|true}
-
Outputs messages about the compiler actions.
Type: Boolean
The following values can be specified:
-
true
-
false
Default value: false
-
- -version
-
Prints version information.
Examples
wsdeploy -o target.war myapp.war
Exit Status
Exit Status |
Explanation |
---|---|
0 |
subcommand executed successfully. |
1 |
error in executing the subcommand. |