You add Rule Designer to an
existing Eclipse environment.
Before you begin
You use Rule Designer to create decision services. To
install Rule Designer, you must have the
appropriate JDK and Eclipse for your operating environment already installed on your computer.
Consult the Rule Designer download
dialogue box in the development environment of your tenant of Operational
Decision Manager on Cloud. It provides links to resources
for downloading Java™, Eclipse, and sample projects.
Check the Java version of your Eclipse installation, and
change it if necessary. In Eclipse, click . On the Configuration tab, check the version of Java in the java.version system property. You
must use the SDK listed in the Rule Designer download dialogue box.
To change your Eclipse to the correct version of Java:
- Close Eclipse.
- Open eclipse/eclipse.ini, and add or edit the following two lines at the
beginning of the
file:
-vm
<SDK_InstallDir>/bin
<SDK_IntallDir>
is the location of the Java instance on your computer.
- Restart Eclipse.
Make sure Eclipse and Java both use the same bit value,
either 32 or 64.
Tip: If you get an error while installing Rule Designer, install the Eclipse Modeling
Tools.
About this task
In your Eclipse installation, you configure a repository and use it to install Rule Designer.
Procedure
- Launch Eclipse.
-
Click Help > Install New Software.
-
In the Install dialog, click Add.
-
In the Add Repository dialog, enter the repository details that are
available from the cloud portal.
To obtain the repository details:
- Log in to the cloud portal.
- Open .
- Copy the URL for Rule Designer, for example,
https://raw.githubusercontent.com/DecisionsDev/ruledsigner/<release version>/p2.
download window, copy the Eclipse update site URL to the Location field of
the Add Repository dialog of your Eclipse, and click .
- Enter the URL in the Location field of the Add Repository dialog, and click
Add.
-
Select the package IBM ODM on Cloud, and click
Next.
-
Click Next again.
-
Accept the license terms.
-
Click Finish.
-
Click Install Anyway to accept unsigned content.
-
Click Restart Now to restart Eclipse. Make sure your workspace is
selected, and then click OK.
-
In the wizard that opens, enter the URL for the cloud portal in the format
https://<vhostname>.automationcloud.ibm.com/.
You can test the connection to the cloud portal by clicking Connect and
providing your credentials.
-
Click Finish.
The wizard configures the connections to your
Decision Center and
Rule Execution Server instances on the cloud.
Tip: You can run the connection configuration wizard anytime from the Rule Designer menu bar by clicking . For example,
you might want to connect as a different user to the portal.
-
When Rule Designer opens, switch to
the Rule perspective if it does not open by default.
What to do next
Make sure that you configure
by following these instructions:
- Open eclipse.ini.
- Add the following code:
-vmargs
-Dcom.ibm.rules.studio.cloud.contextRootType=odmoncloud
- Save your changes.
- Restart Eclipse.
When you start Eclipse with ,
the wizard connects to the servers in the tenant.