Drools 之路一 Installing And Using
2011-04-18 13:12
162 查看
一、环境准备工作
1、安装java环境,本文用:jdk-6u4-windows-i586-p.exe
2、下载eclispe:eclipse-java-helios-SR2-win32
3.、下载GEF:GEF-SDK-3.6.2,GEF安装比较简单,把对应的文件夹拷贝到相应目录就行了。
二、下载Drools:
1、下载:drools-5.1.1-bin截止本文创造时间2011-4-18,drools-5.2.0.M1-bin版本中尚未加入JBPM的相关文件,直接用M1版本会抛出“异常的爱”,所以建议都下载5.1.1版本。
2、下载:drools-5.2.0.M1-eclipse-all。
3、Drools的其它下载,如doc,examples,planner等按各自需求下载,建议都下载下来,如果你打算全面了解Drools的话。
三、安装drools插件
这个安装有点麻烦,不像GEF那么简单,直接拷贝文件夹就行,步骤如下:
解压drools-5.2.0.M1-eclipse-all.zip,在目录找到ReadMeDroolsEclipse.txt,打开内容如下:
根据上面的方法逐步安装就行。
注意:据我观察,这种安装方法并不能做到完全local,它还是要到网上下载,具体下载什么,我不知道,所以最好不要断网。
四、安装DroolsRuntimes
ADroolsruntimeisacollectionofjarsonyourfilesystemthatrepresentonespecificreleaseoftheDroolsprojectjars.
会关注drools的人,应该不难理解这个,就是Drools项目在编译,运行时需要的jar集合。
1、打开首选项(inthemenuWindowselectthePreferencesmenuitem)
2、select"InstalledDroolsruntimes".
3、点击“add”
4、选择bin所在的目录,如下图:
五、ThefirstprojectofDrools.
这个很简单,打开eclipse,new一个DroolsProject,一路默认,即可得一个标准的示例工程,
运行得:
成功结束。
1、安装java环境,本文用:jdk-6u4-windows-i586-p.exe
2、下载eclispe:eclipse-java-helios-SR2-win32
3.、下载GEF:GEF-SDK-3.6.2,GEF安装比较简单,把对应的文件夹拷贝到相应目录就行了。
二、下载Drools:
1、下载:drools-5.1.1-bin截止本文创造时间2011-4-18,drools-5.2.0.M1-bin版本中尚未加入JBPM的相关文件,直接用M1版本会抛出“异常的爱”,所以建议都下载5.1.1版本。
2、下载:drools-5.2.0.M1-eclipse-all。
3、Drools的其它下载,如doc,examples,planner等按各自需求下载,建议都下载下来,如果你打算全面了解Drools的话。
三、安装drools插件
这个安装有点麻烦,不像GEF那么简单,直接拷贝文件夹就行,步骤如下:
解压drools-5.2.0.M1-eclipse-all.zip,在目录找到ReadMeDroolsEclipse.txt,打开内容如下:
WelcometoDroolsEclipse ========================= Introduction ------------ DroolsEclipsebundlesthedroolspluginsforeclipse. Thiszipisusefulifyoudon'twanttoorcan'tusetheonlineupdatesite. InstallingthepluginsinEclipse --------------------------------- -Unzipthedrools-update-sitedirectorytoalocaldirectory -OpenEclipse. -Openthemenu"Help",menuitem"Installnewsoftware..." -Clickonthebutton"Add..."toaddanewsoftwaresite. -Fillinthename"droolslocalupdatesite" -Clickonthebutton"Local..."andselect".../drools-update-site" -Selectalltheplugins.Clickthebuttons"Next"and"Finish". |
注意:据我观察,这种安装方法并不能做到完全local,它还是要到网上下载,具体下载什么,我不知道,所以最好不要断网。
四、安装DroolsRuntimes
ADroolsruntimeisacollectionofjarsonyourfilesystemthatrepresentonespecificreleaseoftheDroolsprojectjars.
会关注drools的人,应该不难理解这个,就是Drools项目在编译,运行时需要的jar集合。
1、打开首选项(inthemenuWindowselectthePreferencesmenuitem)
2、select"InstalledDroolsruntimes".
3、点击“add”
4、选择bin所在的目录,如下图:
五、ThefirstprojectofDrools.
这个很简单,打开eclipse,new一个DroolsProject,一路默认,即可得一个标准的示例工程,
运行得:
成功结束。
相关文章推荐
- Installing mysql on windows 7 and using ruby on it
- Installing ImageMagick on Windows and Using with PHP
- Installing Resin using the .deb package on Ubuntu and Debian
- Installing and Using Standby Statspack in 11g
- Finding and Installing a NuGet Package Using the Package Manager Console
- Installing nginx and php-fpm on Mac OSX 10.8 using ports
- Installing Resin using the .deb package on Ubuntu and Debian
- the creating,installing and using of shared library
- Installing and Using Ranger
- Installing and using VirtualBox on CentOS
- Finding and Installing a NuGet Package Using the Package Manager Console
- Installing and using Net-SNMP On Linux
- 使用Response文件安装和配置Oracle数据库 - Installing and Configuring Oracle Database Using Response Files
- [转]Installing, Configuring and Using Windows Server AppFabric and the "Velocity" Memory Cache in 10 minutes
- Installing and Using the Torque Object Mapper
- Installing and Using Ftrace
- Installing and using Net-SNMP On Linux
- Using ASP.NET 3.5's ListView and DataPager Controls: Grouping