2

我正在尝试在 Eclipse Luna 4.4.1 (Mac OS Yosemite) 上安装 e(fx) 插件。

我正在按照以下步骤操作:

-> 帮助

-> 安装新软件...

-> 点击“添加..”按钮。

-> 作为“名称”类型:e(fx)clipse 和作为“位置”类型:http: //download.eclipse.org/efxclipse/updates-released/1.2.0/site

-> 点击“确定”。

-> 选择插件并按照以下说明进行安装:http: //www.eclipse.org/efxclipse/install.html#for-the-ambitious

它开始下载......在某些时候,我收到了这个错误:

收集要安装的项目时发生错误会话上下文是:(profile=epp.package.jee,phase=org.eclipse.equinox.internal.p2.engine.phases.Collect,operand=,action=)。未找到包含:osgi.bundle,org.eclipse.jem.proxy,2.0.410.v201411191736 的存储库未找到包含:osgi.bundle,org.eclipse.jst.j2ee,1.1.802.v201501141657 未找到包含:osgi 的存储库.bundle,org.eclipse.jst.j2ee.web,1.1.810.v201501141727 未找到包含:osgi.bundle,org.eclipse.jst.jsp.core,1.2.701.v201501151629 的存储库包含:osgi.bundle ,org.eclipse.jst.standard.schemas,1.2.201.v201501151629 找不到包含:osgi.bundle,org.eclipse.wst.command.env.ui,1.1.200.v201501131952 的存储库包含:osgi.bundle ,org.eclipse.wst.html.core,1.1.802.v201501170605 未找到包含以下内容的存储库:

我的 Ecipe Luna 4.4.1(Java EE 版)更新了。

4

1 回答 1

3

I had similar issues when installing e(fx)clipse so I will provide a step-by-step installation guide which worked for me (under Windows). I have installed e(fx)clipse 1.2.0 on Eclipse Luna Service Release 2 (4.4.2) with JDK 8u40.

What did not work for me as well was using the (remote) update sites mentionend in the e(fx)clipse installation guide.

So here we go:

  1. Download fresh Eclipse Luna SR2 (e.g. eclipse-java-luna-SR2-win32-x86_64.zip)
  2. unzip content -> now you have a folder "eclipse"
  3. Download XText runtime ("http://www.eclipse.org/modeling/tmf/downloads/" -> "tmf-xtext-runtime-2.7.3.zip"). I used version 2.7.3. Extract zip-file to folder where your "eclipse"-folder is located. It should write its content to the 'features' and 'plugins' subfolders.
  4. Download e(fx)clipse update site assembly ("http://download.eclipse.org/efxclipse/updates-released/1.2.0/?d" -> site_assembly.zip) [note the '?d' at the end of the url to get directory listing]
  5. start eclipse and select an empty dummy-workspace. maybe it works with an existing workspace as well, but just to be sure ...
  6. Add e(fx)clipse zip-archive as local repository to eclipse: Help -> Install New Software ... -> Add. Name it as you want, e.g. 'e(fx)clipse [local]', press Archive and select site_assembly.zip archive downloaded. finally press ok to create repository.
  7. Select "e(fx)clipse [local]" repository, check option "e(fx)clipse install", check "contact all update sites ..." and click next

The rest is just clicking next and finish on the following dialog pages. After a final restart e(fx)clipse works fine.

It should work under Linux or MacOS as well as it is an Eclipse issue.

I hope this guide is helpful.

于 2015-03-05T07:13:45.957 回答