drools Installation Configuration Learn notes
1. Download the latest Drools related components
Required (drools run environment, drools Eclipse plug-in)
Http://download.jboss.org/drools/release/5.0.1.26597.FINAL/drools-5.0-bin.zip
Http://download.jboss.org/drools/release/5.0.1.26597.FINAL/drools-5.0-eclipse-all.zip
Optional (Document,source Code,example,solver,guvnor)
Http://www.jboss.org/drools/downloads.html
2. Extract Drools-5.0-bin.zip to any directory, such as: c:/
3. Extract Drools-5.0-eclipse-all.zip to eclipse installation directory
4. Start Eclipse to see if the toolbar has a drools icon, and if so, install it properly. Otherwise, open the menu->windows->open perspective->other->drools. If there are no perspective, please delete the eclipse/configuration/org.eclipse.update directory and restart Eclipse.
5. Configure the Drools runtime environment to point to the Drools-5.0-bin directory
6. Click menu->file->new->drools Project, enter the name of the Create Drools item, and click Next to select all options. Drools automatically creates rule files and test cases, and the results are as follows:
7. Run Droolstest.java, you can see the results based on the rule file SAMPLE.DRL definition
8. Can download drools-5.0-example, unzip and import eclipse to see more examples
Note : The drools version of the download needs to match the version of Eclipse, and the case uses the version of Eclipse 3.4.0