我在尝试从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&amp; amp;说唱版。
出于同样的原因,我无法为插件创建更新站点。
在eclipse jee版本中似乎没有发生此错误。虽然出口成功, 插件本身不起作用(当我运行项目时它确实有效)。
答案 0 :(得分:9)
我有同样的问题。重新安装“Eclipse Plug-in Development Environment”插件最终为我修复了它。