Deploying a Web target

After you set up local or target deployment configurations, you can deploy a Web target for testing or production whenever you want.

StepsTo deploy a Web target using selected configurations:

  1. Right-click the target, and select Properties from the pop-up menu.

  2. 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.

  3. (Optional) Click the Run tab, select a start page for your target, and select the deployment configuration for running.

    NoteSelecting a start page You can run the Web target from PowerBuilder (from the Run menu) if you select a valid start page. For JSP targets, 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.

  4. Click OK to close the target properties dialog box.

  5. 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.

    NoteDeploying more than one target at once You can also deploy a workspace with multiple Web targets.