【问题标题】:eclipse error exporting plugineclipse错误导出插件
【发布时间】:2012-06-15 20:59:17
【问题描述】:

尝试从 Eclipse 导出 IMP 插件时遇到一个奇怪的错误。 使用 eclipse indigo 时,我得到:

C:\Users\Shachar\workspace jee\.metadata\.plugins\org.eclipse.pde.core\temp\org.eclipse.pde.container.feature\assemble.org.eclipse.pde.container.feature.win32.win32.x86.xml:88: The following error occurred while executing this line:
C:\Users\Shachar\workspace jee\.metadata\.plugins\org.eclipse.pde.core\temp\org.eclipse.pde.container.feature\assemble.org.eclipse.pde.container.feature.win32.win32.x86.xml:103: The following error occurred while executing this line:
C:\Users\Shachar\workspace jee\.metadata\.plugins\org.eclipse.pde.core\temp\org.eclipse.pde.container.feature\assemble.org.eclipse.pde.container.feature.win32.win32.x86.xml:26: The following error occurred while executing this line:
C:\Users\Shachar\workspace jee\ide\build.xml:293: The following error occurred while executing this line:
C:\Users\Shachar\workspace jee\ide\build.xml:368: Problem: failed to create task or type apitooling.apigeneration
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.

The following error occurred while executing this line:
C:\Users\Shachar\workspace jee\.metadata\.plugins\org.eclipse.pde.core\temp\org.eclipse.pde.container.feature\assemble.org.eclipse.pde.container.feature.win32.win32.x86.xml:103: The following error occurred while executing this line:
C:\Users\Shachar\workspace jee\.metadata\.plugins\org.eclipse.pde.core\temp\org.eclipse.pde.container.feature\assemble.org.eclipse.pde.container.feature.win32.win32.x86.xml:26: The following error occurred while executing this line:
C:\Users\Shachar\workspace jee\ide\build.xml:293: The following error occurred while executing this line:
C:\Users\Shachar\workspace jee\ide\build.xml:368: Problem: failed to create task or type apitooling.apigeneration
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.

当我使用eclipse indigo rcp & rap 版本时出现同样的错误。

出于同样的原因,我无法为插件创建更新站点。

这个错误似乎在 eclipse jee 版本中没有发生。在导出成功的同时, 插件本身不起作用(当我运行项目时它确实起作用)。

【问题讨论】:

  • 你有想过这个吗?我也有同样的问题。
  • @MattCrinklaw-Vogt 看起来工作区的路径包含“空格”字符。试试没有空间的工作区。

标签: java eclipse eclipse-plugin imp


【解决方案1】:

我有同样的问题。重新安装“Eclipse Plug-in Development Environment”插件最终为我修复了它。

【讨论】:

  • 我认为丢失的包是 org.eclipse.pde.api.tools 至少当我最近遇到这个时它似乎是丢失的包。我只是通过在 Help -> Install New Software... 中添加 PDE 来解决它。”
猜你喜欢
  • 2015-10-18
  • 2016-03-20
  • 1970-01-01
  • 2017-08-15
  • 1970-01-01
  • 2015-10-27
  • 1970-01-01
  • 2015-05-02
  • 1970-01-01
相关资源
最近更新 更多