OpenL Web Studio provides a function that allows a simple update and redeployment of many related deployment projects when a particular rule project is modified. This function takes into account the version of the opened rule project and works correctly, even with older project versions.
To update related deployment projects and redeploy a rule project, proceed as follows:
In the project tree, select the modified rule project.
In the right pane, click Redeploy.
Note: The Redeploy button is disabled if the selected project is a local project or if it is checked out.
The Auto Redeploy window appears listing all existing deployment projects whose latest version contains a reference to the selected rule project. Deployment projects marked for deletion are not displayed.
Figure 38: Redeploying a project
The Message column displays the current status of displayed deployment projects. If a particular deployment project cannot be redeployed, the check box in the Selected column is gray. Following are possible reasons for a deployment project to be disabled:
The deployment project is checked out.
The deployment project is locked by another user and cannot be updated.
The deployment project is up to date and references the selected version of the rule project.
The deployment project references a version of the rule project that is higher than the one currently opened.
If the selected rule project is not referenced by any existing deployment project, the system offers to create a new deployment project containing only the rule project with an identical name.
Select check boxes for the deployment projects that must be updated and redeployed.
Click Redeploy.
Update and redeployment results are displayed in the user interface.
Figure 39: Redeployment results