1.1. Conditions
Drools It is a Java open-source rule engine. Therefore, using drools and pre-installed in the development machine JDK perimeter, Drools5.5 requires a JDK version number of 1.5 or more.
1.2. Development environment Construction
The first step in most software learning is to build the development environment for the software, and Drools is no exception.
This section describes how to build a Drools5 development, execution, debugging environment.
First, download the two zip package in the red border of the image by drools the 5.5.0Final version number below the address below.
http://download.jboss.org/drools/release/5.5.0.Final/
1.3. Installing the Drools IDE
Open the Dropins folder under the folder where Eclipse3.7 is located, and in this folder step through the Drools folder and the Eclipse folder, as you can see:
Unzip the Droolsjbpm-tools-distribution-5.5.0.final.zip file and enter into the droolsjbpm-tools-distribution-5.5.0.final\binaries\ Org.drools.updatesite folder, copy the features folder and plugins folder to the Eclipse installation folder/dropins/drools/eclipse/folder, for example, as seen in:
The drools5.5 all plug-in files are installed into eclipse. The next step is to restart Eclipse 3.7 under Win dos. Verify that the Drools5.5 is installed successfully.
Sets the eclipse start-time properties. For example, as seen in:
Open windowàpreferences in turn when the demo sample is shown for example as seen. Drools5.5 successfully installed.
Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvbwf2czqx/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70 /gravity/southeast ">
After the IDE is installed, the next step is to configure the DROOLS5.5 IDE environment in a simple configuration, opening window-> references in turn. In the pop-up form where you select the left navigation tree menu Drools installed droolsruntimes set the SDK for Drools5.5 IDE execution, click on the "Add ..." button to add a developer kit. Path is set to Drools-distribution-5.5.0.final\binaries. For example, as seen in the.
After clicking "OK", you are prompted to start eclipse again.
After restarting, create a demo sample of new project such as the following interface:
Open the Drools view as seen below:
Copyright notice: This article blog original articles, blogs, without consent, may not be reproduced.
Drools Learning note -01-in Eclipse Indgo integration Drools5.5