Run the Portlet Deployment Tool with the following arguments:
portletDeploymentTool -i <input file
> -o <output file
>
[-w <working directory
>][-f] [-c <contextRoot
>] [-ear]
Argument | Description |
---|---|
-i | Input: the absolute pathname of the portlet’s WAR file or exploded WAR directory. The Portlet Deployment Tool expects to find a |
-o | Output: the absolute path of the directory where the portlet should be installed. |
-w | The path of the working directory the tool should use. If you do not explicitly set the working directory, the tool uses the default working directory. The default working directory is |
-c | The context root that should be used for the deployed WAR. |
-f | Overwrite: If there is already a portlet with the same name in the location specified by the |
-ear | Generate an exploded EAR file rather than an exploded WAR file. |
-debug | Generate debug messages. |
-info | Generate info and debug messages. |
-warning | Generate warning, info, and debug messages. |
-error | Generate error, warning, info, and debug messages. |
-silent | Generate only minimal messages. |
-usage | Generate a usage message. |