PDE无头构建问题与eclipse RCP从3.7.2迁移到4.3.2

时间:2014-04-25 12:18:20

标签: eclipse eclipse-plugin eclipse-pde

我们正在将我们的应用程序从3.7.2迁移到4.3.2,但在pde-build期间遇到的问题很少。虽然我可以从Eclipse 4.3.2 IDE本身获得构建和启动并运行良好的应用程序,但命令行构建失败,并显示有关许多缺少插件,编译失败等的消息。

在日志文件中有很多缺少的插件消息,但是我为pde构建提供的Eclipse 4.3.2文件夹中包含了所有这些缺少的jar文件夹。我已经通过在Eclipse SDK目录中搜索实际的jar名称来确认这一点,该名称由构建解压缩以供以后使用。

这些是运行pde-build目标后来自日志的消息:

[eclipse.generateFeature] Some inter-plug-in dependencies have not been satisfied.
[eclipse.generateFeature] Bundle org.eclipse.cdt.core.nl1:
[eclipse.generateFeature]   Host plug-in org.eclipse.cdt.core_[5.5.0,5.6.0) has not been found.
[eclipse.generateFeature] Bundle org.eclipse.cdt.core.nl2a:
[eclipse.generateFeature]   Host plug-in org.eclipse.cdt.core_[5.5.0,5.6.0) has not been found.
[eclipse.generateFeature] Bundle org.eclipse.cdt.core.nl2:
[eclipse.generateFeature]   Host plug-in org.eclipse.cdt.core_[5.5.0,5.6.0) has not been found.
[eclipse.generateFeature] Bundle org.eclipse.cdt.core.nlBidi:
[eclipse.generateFeature]   Host plug-in org.eclipse.cdt.core_[5.5.0,5.6.0) has not been found.
[eclipse.generateFeature] Bundle org.eclipse.cdt.debug.core.nl1:
[eclipse.generateFeature]   Host plug-in org.eclipse.cdt.debug.core_[7.3.0,7.4.0) has not been found.
[eclipse.generateFeature] Bundle org.eclipse.cdt.debug.core.nl2a:
[eclipse.generateFeature]   Host plug-in org.eclipse.cdt.debug.core_[7.3.0,7.4.0) has not been found.
[eclipse.generateFeature] Bundle org.eclipse.cdt.debug.core.nl2:
[eclipse.generateFeature]   Host plug-in org.eclipse.cdt.debug.core_[7.3.0,7.4.0) has not been found.

在所有丢失的插件消息之后,我也会收到与编译失败相关的错误:

[83 units compiled]
    [javac] ----------
    [javac] 1. ERROR in C:\vobs\chechand_CM_cm521\vobs\build\toolkit\plugins\com.app.ecm.configmgr.engine\src\com\app\ecm\configmgr\engine\util\XmlDoc.java (at line 0)
    [javac]     /* app Confidential
    [javac]     ^
    [javac] ***The type java.lang.Class cannot be resolved. It is indirectly referenced from required .class files***
    *[javac] ----------
    [javac] 1 problem (1 error)
    [javac] Compilation failed. Compiler errors are available in C:\vobs\chechand_CM_cm521\vobs\build\toolkit\plugins\com.app.ecm.configmgr.engine/@dot.log
BUILD FAILED
C:\Users\Administrator\chechand_Common_3PT_3\vobs\fnet_3pt\eclipse\4.3.2\eclipse\plugins\org.eclipse.pde.build_3.8.100.v20130514-1028\scripts\productBuild\productBuild.xml:43: The following error occurred while executing this line:
C:\Users\Administrator\chechand_Common_3PT_3\vobs\fnet_3pt\Eclipse\4.3.2\eclipse\plugins\org.eclipse.pde.build_3.8.100.v20130514-1028\scripts\build.xml:105: The following error occurred while executing this line:
C:\Users\Administrator\chechand_Common_3PT_3\vobs\fnet_3pt\Eclipse\4.3.2\eclipse\plugins\org.eclipse.pde.build_3.8.100.v20130514-1028\templates\headless-build\customTargets.xml:12: The following error occurred while executing this line:
C:\Users\Administrator\chechand_Common_3PT_3\vobs\fnet_3pt\Eclipse\4.3.2\eclipse\plugins\org.eclipse.pde.build_3.8.100.v20130514-1028\scripts\productBuild\allElements.xml:20: The following error occurred while executing this line:
C:\Users\Administrator\chechand_Common_3PT_3\vobs\fnet_3pt\Eclipse\4.3.2\eclipse\plugins\org.eclipse.pde.build_3.8.100.v20130514-1028\scripts\genericTargets.xml:118: The following error occurred while executing this line:
C:\Users\Administrator\chechand_Common_3PT_3\vobs\fnet_3pt\Eclipse\4.3.2\eclipse\plugins\org.eclipse.pde.build_3.8.100.v20130514-1028\scripts\genericTargets.xml:123: The following error occurred while executing this line:
C:\vobs\chechand_CM_cm521\vobs\build\toolkit\features\org.eclipse.pde.build.container.feature\build.xml:30: The following error occurred while executing this line:
C:\vobs\chechand_CM_cm521\vobs\build\toolkit\features\org.eclipse.pde.build.container.feature\build.xml:16: The following error occurred while executing this line:
C:\vobs\chechand_CM_cm521\vobs\build\toolkit\features\com.app.ecm.configmgr.ui.feature\build.xml:63: The following error occurred while executing this line:
C:\vobs\chechand_CM_cm521\vobs\build\toolkit\features\com.app.ecm.configmgr.ui.feature\build.xml:19: The following error occurred while executing this line:
C:\vobs\chechand_CM_cm521\vobs\build\toolkit\plugins\com.app.ecm.configmgr.engine\build.xml:329: The following error occurred while executing this line:
C:\vobs\chechand_CM_cm521\vobs\build\toolkit\plugins\com.app.ecm.configmgr.engine\build.xml:290: Compile failed; see the compiler error output for details.

我搜索了论坛,但没有找到与我面临的问题相关的任何内容。

编辑:我在我的MANIFEST.MF中为我的产品添加了Bundle-RequiredExecutionEnvironment = JavaSE-1.7但我仍然面临这个问题。 谢谢你的帮助。

0 个答案:

没有答案