java - eclipse 错误导出插件

标签 java eclipse eclipse-plugin imp

尝试从 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 version 出现同样的错误

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

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

最佳答案

我遇到了同样的问题。重新安装“Eclipse 插件开发环境”插件最终为我修复了它。

关于java - eclipse 错误导出插件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11005794/

相关文章:

Java 程序是否仅为某些类型的 CSV 文件创建扫描仪?

java - 如何将 spring Controller 映射到扩展名为 .jsp 的 url?

java - 有没有理由永远不关闭 JDBC 连接?

java - 碰撞检测在 2d android 中不起作用

eclipse - Eclipse M2Eclipse中的Maven版本

java - 在我的 "while"行上出现不兼容类型错误

eclipse - 如何在Ubuntu上安装的Hadoop上减少连接/运行 map

java - 数学线只在一个循环中运行一次

java - 在 Eclipse 上运行斯坦福作业时出现问题

java - 如何更改对象选择字段标题的颜色