After you set up local or target deployment configurations, you can deploy a JSP target for testing or production whenever you want.
To deploy a JSP target using selected configurations:
Right-click the target, and select Properties from the pop-up menu.
Click the Deploy tab, then select only the configurations you want to use.
When you deploy a target, it is deployed to all selected configurations. You can also choose the order of deployment to the selected configurations by moving configurations up or down in the configuration list.
(Optional) Click the Run tab, select a start page for your target, and select the deployment configuration for running.
Selecting a start page
You can run the JSP target from the PowerBuilder Run menu
if you select a valid start page. If you define a server and port
in your current deployment configuration, you can enter a relative
URL in the Start Page text box, preceding the start page with a
forward slash. For example, you could use the relative path
/First.jsp
or /MyFolder/First.jsp
as
a relative URL.
You can also enter a complete URL, in which case the server, port, and mapping selections in your current deployment configuration are ignored when you run the target from PowerBuilder.
Click OK to close the target properties dialog box.
Right-click the target, and select Deploy from the pop-up menu.
The output window displays messages and lets you know if the deployment is successful or if errors are encountered.