The Samples Console is an Eclipse perspective that you
use to build and run samples.
About this task
You do the following operations in the Samples Console:
Find the samples, import projects, and view documentation.
Run Ant targets to use samples.
Start and stop the sample server.
Open the Rule Execution Server console, and the Decision
Center Enterprise console and Business
console.
Display trace messages.
To use the samples and tutorials, you must set the locale of your Eclipse development environment
to en_US.
Procedure
To run a sample from the Samples Console:
- Start the Samples Console in one of the following ways:
- Windows: On the Windows Start menu,
click . package_group refers to the package group specified in IBM®
Installation Manager during installation. The default
package group is Operational Decision Manager V8.9.1.
This shortcut opens Designer in the en_US (American English)
locale.
- All platforms: Start Rule
Designer
by using the Eclipse start command: <InstallDir>. You
must run Eclipse in the en_US locale. To open the Sample Console in the correct
locale from a command line, use the following parameters in the Eclipse command:
-init
-nl en_US -perspective
ilog.rules.studio.samples.console.perspectives.SamplesPerspective
Fore example, for
the Mac OS:
<InstallDir>/Eclipse.app/Contents/MacOS/eclipse --init -nl en_US
-perspective
ilog.rules.studio.samples.console.perspectives.SamplesPerspective
Otherwise, when
Rule
Designer opens, select , select Samples Console, and then click
OK.
- In the Sample Server view, click the Start the Sample
Server button :
- After the sample server starts, click the Samples and Tutorials view to
locate the sample or tutorial that you want to run:
- Click View instructions to display
the relevant documentation.
- Click View sample commands to open the Samples Commands view. The
Decision
Center and Rule Execution Server samples provide Ant targets to compile and run
the samples.
- When instructed, double-click the appropriate Ant target node. Each Ant target is shown as a green target icon.