General deployment options

The general deployment options of a JSP target allow you to:

You cannot change the deployment configuration name from the Deployment Configuration Properties dialog box. If you want to create a different deployment configuration name, close this dialog box and start the Name New Deployment Configuration wizard from the Deploy page of the Properties dialog box for the target.

The general deployment options for a JSP target consist of four main selection pages that you access from the tree view in the Deployment Configuration Properties dialog box:

Table 12-4: General deployment configuration options for a JSP target

Deployment selection page

Description

General

Type a description for the deployment configuration.

Server Information

Lists the server types to which you can deploy. The current selection is highlighted. Additional selections are available depending on which server you select:

EAServer Select a deployment profile and an HTTP port.

Tomcat Select the deployment folder and the HTTP server and port. You can also select a login name and password, and choose to stop and restart the server automatically after the target is deployed.

Custom Command Line Type deployment commands required for deploying the target WAR file to a JSP server other than EAServer or Tomcat. You can use macros to build the command lines and select options allowing you to abort deployment on detection of an error, show deployment messages in the output window, or create the target WAR file from the command line (by blocking PowerBuilder from generating the WAR file).

Object Model

Select whether you want to deploy the JSP object model with your JSP target. You can select the default JSP object model only.

Deploy What?

Select Deploy All Or Nothing to make sure that nothing gets deployed when one of the files selected for deployment fails the build or predeployment processing. Select Deploy Only Successful Files to prevent failure of a single file from affecting deployment of other files in the target.

The Rebuild field lets you select whether to use an incremental or full rebuild of files you select for deployment with the current configuration. For targets that use 4GL pages, EAServer stubs are regenerated only if you select a full rebuild.

Local Copy Folder When you build the JSP target, PowerBuilder generates a WAR file containing JSP files and supporting objects in the folder you specify as the Local Copy Folder. You can clear the Make Local Copy Of Deployed Files check box only if you selected the Deploy Only Successful Files option.