package4j2ee - Package EAR Files for Application Server Deployment
package4j2ee [--errorlevel|-v level] [--edition|-e edition] [--productline|-p] [[--allproducts|-a] | dataarea [application]]
The package4j2ee
utility is deprecated. You should use the stagelandmark
utility instead to prepare data areas for deployment.
The package4j2ee
utility processes the specified data area, or all currently defined data areas if requested, to produce JavaEE EAR
files suitable for deployment to one of the supported JavaEE application server types. There are two
fundamental modes of packaging, one where all shared product line artifacts are packaged together with
all specified servlet WAR files in a single EAR file and one where the shared product line
artifacts are packaged into one EAR file and all specified servlet WAR files are packaged into additional
EAR files by data area name and depend on the base product line EAR file.
Program Option | Description |
---|---|
-e edition or
--edition edition
|
Control which data area dictionary edition to process. An
edition is a dictionary edition flag name (newest , pending , active , or prior )
and results in EAR file processing for the product line run directory associated
to the data area currently in the requested state.
|
-p or --productline
|
An option flag to specify that the supplied data area name should be processed as a product line name, leading to processing all defined data areas associated with the product line. |
-a or --allproducts
|
Process all product lines currently defined for which the default data
area has a dictionary of the requested edition type. This means that a
successful buildprod has been run for the product line. If the singleear
is not configured, all data areas of the requested edition type for all
product lines will be processed.
|
dataarea
|
The name of the data area or product line to be processed. A product
line is selected when the [--productline | -p] option is provided. If a
product line is selected and singleear is not configured then all identified
data areas for the product line will be processed.
|
application
|
The name of an optional single enterprise application definition to be processed. |
-v displayoptions
or --errorlevel=level
|
|