尝试从 eclipse 导出 IMP 插件时出现一个奇怪的错误。使用日食靛蓝时,我得到:
C:UsersShacharworkspace jee.metadata.pluginsorg.eclipse.pde.coretemporg.eclipse.pde.container.featureassemble.org.eclipse.pde.container.feature.win32.win32.x86.xml:88: The following error occurred while executing this line:
C:UsersShacharworkspace jee.metadata.pluginsorg.eclipse.pde.coretemporg.eclipse.pde.container.featureassemble.org.eclipse.pde.container.feature.win32.win32.x86.xml:103: The following error occurred while executing this line:
C:UsersShacharworkspace jee.metadata.pluginsorg.eclipse.pde.coretemporg.eclipse.pde.container.featureassemble.org.eclipse.pde.container.feature.win32.win32.x86.xml:26: The following error occurred while executing this line:
C:UsersShacharworkspace jeeidebuild.xml:293: The following error occurred while executing this line:
C:UsersShacharworkspace jeeidebuild.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:UsersShacharworkspace jee.metadata.pluginsorg.eclipse.pde.coretemporg.eclipse.pde.container.featureassemble.org.eclipse.pde.container.feature.win32.win32.x86.xml:103: The following error occurred while executing this line:
C:UsersShacharworkspace jee.metadata.pluginsorg.eclipse.pde.coretemporg.eclipse.pde.container.featureassemble.org.eclipse.pde.container.feature.win32.win32.x86.xml:26: The following error occurred while executing this line:
C:UsersShacharworkspace jeeidebuild.xml:293: The following error occurred while executing this line:
C:UsersShacharworkspace jeeidebuild.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 版本中发生。当导出成功时,插件本身不起作用(当我运行项目时它确实有效)。
我遇到了同样的问题。 重新安装"Eclipse 插件开发环境"插件最终为我修复了它。