【发布时间】:2011-02-10 15:16:33
【问题描述】:
我有一个复杂的 Eclipse 富客户端平台 GUI,其中包含我开发的 4 个 Eclipse 插件。我在 Eclipse 3.5.2 上构建它,Build id: M20100211-1343
当我从 Eclipse 内部将它作为 Eclipse 应用程序运行时,它工作得很好。
当我尝试使用产品文件概览面板上的导出向导导出 Eclipse 产品时,出现以下错误:
'Export Product' has encountered a problem.
C:\BOPEclipse3.5RabId\.metadata\.plugins\org.eclipse.pde.core\temp\org.eclipse.pde.container.feature\package.org.eclipse.pde.container.feature.win32.win32.x86.xml:100:
The following error occurred while executing this line:
C:\BOPEclipse3.5RabId\.metadata\.plugins\org.eclipse.pde.core\temp\org.eclipse.pde.container.feature\package.org.eclipse.pde.container.feature.win32.win32.x86.xml:345:
C:\BOPEclipse3.5RabId\.metadata\.plugins\org.eclipse.pde.core\temp\assemblyLocation\tmp\gui\plugins\org.eclipse.equinox.launcher_1.0.201.R35x_v20090715 not found.
The following error occurred while executing this line:
C:\BOPEclipse3.5RabId\.metadata\.plugins\org.eclipse.pde.core\temp\org.eclipse.pde.container.feature\package.org.eclipse.pde.container.feature.win32.win32.x86.xml:345:
C:\BOPEclipse3.5RabId\.metadata\.plugins\org.eclipse.pde.core\temp\assemblyLocation\tmp\gui\plugins\org.eclipse.equinox.launcher_1.0.201.R35x_v20090715 not found.
我查看了错误中给出的目录位置。 Equinox 启动器插件就在那里。
版本 1.0.201.R35x_v20090715 与错误消息中的版本匹配。
我有Equinox启动器插件,产品文件的Dependencies列表中有win32.win32.x86平台片段。
我在产品文件的“概览”面板中选中了“产品包含本机启动器工件”复选框。
我在 GUI 插件 XML 的 Dependencies 面板中的必需插件列表中有 org.eclipse.equinox.launcher。
我在 GUI 插件的 build.properties 文件的第一行添加了“javacDefaultEncoding.. = UTF-8”。 (我在一个日本博客上找到了这个建议。)
我已经多次清理插件项目。
编辑添加了我今天尝试的内容:
我创建了一个新的 Eclipse 3.5 实例。没有帮助。
我复制了工作区并尝试使用 Eclipse 3.6。相同的错误,不同的行号。
我创建了一个 Hello World RCP 并尝试在 Eclipse 3.5 上打包它。同样的错误。我使用了不同的工作区。同样的错误。
我创建了相同的 Hello World RCP 并尝试在 Eclipse 3.6 上打包它。同样的错误。
今天的编辑结束。
我搜索了 eclipse.org 和 Internet。
我希望你们中的某个人以前遇到过这个问题,并能指出我的解决方案。如果我知道如何解决这个问题,我会发布答案。
【问题讨论】:
标签: eclipse-rcp