Myeclipse7 安装插件有点麻烦 记录于此备忘
导入项目
http://javapojo.javaeye.com/topics/download/d2d7696a-703e-3d82-8fcc-ad21c9b896fc
运行main方法
得到一段字符串
copy到Myeclipse7目录:Genuitec\MyEclipse
7.0\configuration\org.eclipse.equinox.simpleconfigurator\bundles.info
这个文件里面。
最近安装了个Drools fro eclipse3.4 的插件
下载 drools-5.0.0.CR1-eclipse-all.jar
解压到某文件夹
copy其plugins路径到main方法中(注意是plugins目录哦)
运行该类
public static void main(String[] args)
{
new CreatePluginsConfig().print("E:\\Genuitec\\kimplug\\drools-5.0.0.CR1-eclipse-all\\plugins");
}
得到
org.guvnor.tools,5.0.0.CR1,file:/E:\Genuitec\kimplug\drools-5.0.0.CR1-eclipse-all\plugins\org.guvnor.tools_5.0.0.CR1.jar,4,false
org.eclipse.webdav,3.0.101,file:/E:\Genuitec\kimplug\drools-5.0.0.CR1-eclipse-all\plugins\org.eclipse.webdav_3.0.101.jar,4,false
org.drools.eclipse,5.0.0.CR1,file:/E:\Genuitec\kimplug\drools-5.0.0.CR1-eclipse-all\plugins\org.drools.eclipse_5.0.0.CR1.jar,4,false
org.drools.eclipse.task,5.0.0.CR1,file:/E:\Genuitec\kimplug\drools-5.0.0.CR1-eclipse-all\plugins\org.drools.eclipse.task_5.0.0.CR1.jar,4,false
将其拷入bundles.info尾部
重启myeclipse ok了