Class PearPackager
java.lang.Object
org.apache.uima.tools.pear.packager.PearPackager
PEAR package command line interface.
The class provides a command line interface to package a PEAR file or to just creat an PEAR
installation descriptor.
Usage:
The PearPackager can be used in three different modes:
Mode 1: create a complete PEAR package (default mode)
Mode 2: just create the PEAR installation descriptor
Mode 3: just package a PEAR file
Mode 1 usage: java org.apache.uima.tools.pear.packager.PearPackager -compID <componentID> -mainCompDesc <mainComponentDesc> [-classpath <classpath>] [-datapath <datapath>] -mainCompDir <mainComponentDir> -targetDir <targetDir> [-envVars <propertiesFilePath>]
Mode 2 usage: java org.apache.uima.tools.pear.packager.PearPackager -create -compID <componentID> -mainCompDesc <mainComponentDesc> [-classpath <classpath>] [-datapath <datapath>] -mainCompDir <mainComponentDir> [-envVars <propertiesFilePath>]
Mode 3 usage: java org.apache.uima.tools.pear.packager.PearPackager -package -compID <componentID> -mainCompDir <mainComponentDir> -targetDir <targetDir>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static final booleanprivate static final CommandLineParserstatic voidMain method to call the command line PearPackagerprivate static final void
-
Field Details
-
INSTALL_ACTION_PARAM
- See Also:
-
PACKAGE_ACTION_PARAM
- See Also:
-
COMPONENT_ID_PARAM
- See Also:
-
MAIN_COMPONENT_DESC_PARAM
- See Also:
-
CLASSPATH_PARAM
- See Also:
-
DATAPATH_PARAM
- See Also:
-
ENV_VAR_PARAM
- See Also:
-
MAIN_COMPONENT_DIR_PARAM
- See Also:
-
TARGET_DIR_PARAM
- See Also:
-
-
Constructor Details
-
PearPackager
public PearPackager()
-
-
Method Details
-
createCmdLineParser
-
printUsage
private static final void printUsage() -
checkCmdLineSyntax
-
main
Main method to call the command line PearPackager- Parameters:
args- Command line arguments to configure the PEAR packaging
-