Drools Learning note -01-in Eclipse Indgo integration Drools5.5

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.