第一步:下载eclipse http://www.eclipse.org/downloads/
这里要说明一下,我劝大家一定要去官网下载eclipse,我在其他地方下了一个,drools插件集成不了,弄了半天,最后官网下了一个就没问题了
第二歩:下载插件http://www.jboss.org/drools/downloads.html
方法一:下载插件包,然后解压把features和plugins文件夹下的内容直接覆盖到相应的目录下
方法二:直接在线更新。开始——打开eclipse——Help / Software Updates / Find and Install——Search for new features to install——点击New Remote Site——Name:随便填一个名字 URL:
Drools 4.0.7 Eclipse Workbench for 3.2:http://downloads.jboss.com/drools/updatesite3.2/
Drools 4.0.7 Eclipse Workbench for 3.3:http://downloads.jboss.com/drools/updatesite3.3/
第三歩:下载GEF http://download.eclipse.org/tools/gef/update-site/releases/site.xml
ATTENTION Eclipse plugin
Eclipse GEF is now required. So if you want to use the plug-in, you will need to download the GEF from Here. Or, you can use the Eclipse update feature to locate GEF. The rules update site should soon be updated to automatically install GEF if you don't have it already (but it isn't now).
Use the Eclipse Update Manager
1. Go to the Help / Software Updates / Find and Install..."
2. Choose the "Search for new features to install" option
3. Add one of the update sites below.
Release site: http://download.eclipse.org/tools/gef/update-site/releases/site.xml
Milestone site: http://download.eclipse.org/tools/gef/update-site/milestones/site.xml
Update site for integration builds: http://download.eclipse.org/tools/gef/update-site/integrations/site.xml
You could also take a look at the Callisto '06 or Europa '07 sites which by design lines up all the components together for a particular milestone and provides a more convenient way to install GEF and its dependencies.
这里是官网的说明,我解释一下,大家只要按我说的做就可以了
开始——打开eclipse——Help / Software Updates / Find and Install——Search for new features to install——点击New Remote Site——Name:随便填一个名字 URL: http://download.eclipse.org/tools/gef/update-site/releases/site.xml ——然后你就下一步——等着吧一会就好了——结束
一切就绪后重启eclipse,然后你会发现工具栏多了一个图标就是drools的标志,恩ok!!
第五步:下载例子 http://www.jboss.org/drools/downloads.html
这里的例子也有个小问题我不知道怎么回事,把下载的工程直接import进来会识别不了,只有新建一个工程然后把里面的java源文件和rule文件拷贝过来才可以!
现在享受你的drools+eclipse之旅吧!有个问题我没解决,就是在编写drl文件的时候没有语法提示(content assistant)功能,非要按ALT+/才可以。
这里要说明一下,我劝大家一定要去官网下载eclipse,我在其他地方下了一个,drools插件集成不了,弄了半天,最后官网下了一个就没问题了
第二歩:下载插件http://www.jboss.org/drools/downloads.html
方法一:下载插件包,然后解压把features和plugins文件夹下的内容直接覆盖到相应的目录下
方法二:直接在线更新。开始——打开eclipse——Help / Software Updates / Find and Install——Search for new features to install——点击New Remote Site——Name:随便填一个名字 URL:
Drools 4.0.7 Eclipse Workbench for 3.2:http://downloads.jboss.com/drools/updatesite3.2/
Drools 4.0.7 Eclipse Workbench for 3.3:http://downloads.jboss.com/drools/updatesite3.3/
第三歩:下载GEF http://download.eclipse.org/tools/gef/update-site/releases/site.xml
ATTENTION Eclipse plugin
Eclipse GEF is now required. So if you want to use the plug-in, you will need to download the GEF from Here. Or, you can use the Eclipse update feature to locate GEF. The rules update site should soon be updated to automatically install GEF if you don't have it already (but it isn't now).
Use the Eclipse Update Manager
1. Go to the Help / Software Updates / Find and Install..."
2. Choose the "Search for new features to install" option
3. Add one of the update sites below.
Release site: http://download.eclipse.org/tools/gef/update-site/releases/site.xml
Milestone site: http://download.eclipse.org/tools/gef/update-site/milestones/site.xml
Update site for integration builds: http://download.eclipse.org/tools/gef/update-site/integrations/site.xml
You could also take a look at the Callisto '06 or Europa '07 sites which by design lines up all the components together for a particular milestone and provides a more convenient way to install GEF and its dependencies.
这里是官网的说明,我解释一下,大家只要按我说的做就可以了
开始——打开eclipse——Help / Software Updates / Find and Install——Search for new features to install——点击New Remote Site——Name:随便填一个名字 URL: http://download.eclipse.org/tools/gef/update-site/releases/site.xml ——然后你就下一步——等着吧一会就好了——结束
一切就绪后重启eclipse,然后你会发现工具栏多了一个图标就是drools的标志,恩ok!!
第五步:下载例子 http://www.jboss.org/drools/downloads.html
这里的例子也有个小问题我不知道怎么回事,把下载的工程直接import进来会识别不了,只有新建一个工程然后把里面的java源文件和rule文件拷贝过来才可以!
现在享受你的drools+eclipse之旅吧!有个问题我没解决,就是在编写drl文件的时候没有语法提示(content assistant)功能,非要按ALT+/才可以。