You use the samples console to set up the data sources
for decision tables collections sample.
About this task
This sample extends the Rule
Designer API
and the required sample plug-ins are delivered as pre-deployed.
Procedure
To import the dtpopulate sample:
- Switch to the Samples Console perspective.
- In the Samples and Tutorials view, navigate to and
click Import projects. If
one or more files already exist in your workspace, Rule
Designer displays
a warning message.
Rule Explorer displays the imported sample project
files:
- dtpopulate-rule. The target sample rule project.
This project contains the decision table to populate.
- dtpopulate-xom. A Java™ project
containing the execution model of dtpopulate-rule.
- dtpopulate-application. A Java project including an Ant build file (build.xml)
which contains different Ant tasks used to demonstrate different execution
scenarios.
Note: The target init.runtime was added in
the build.xml file to help Eclipse set the runtime
properties: os (operating system), ws (window
system) and arch (architecture) before running the
sample. This works for most common configurations. If it does not
match your runtime environment, you can modify the Ant target to force
the values of these properties.