我有一個複雜的Eclipse富客戶機平臺GUI,包含我開發的4個Eclipse插件。我在Eclipse 3.5.2上構建它,構建ID:M20100211-1343Eclipse RCP導出產品遇到問題
從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.
我看着在錯誤給出的目錄位置。春分啓動插件就在那裏。
版本1.0.201.R35x_v20090715與錯誤消息中的版本相匹配。
我在產品文件的Dependencies列表中有equinox啓動程序插件和win32.win32.x86平臺片段。
我在產品文件的「概覽」面板中選中「產品包含本機啓動器工件」複選框。
我在org.eclipse.equinox.launcher插件的GUI插件的Dependencies面板中的所需插件列表XML。
我在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和互聯網。
我希望你們其中一個人以前遇到過這個問題,並可以指出我的解決方案。如果我知道如何解決這個問題,我會發布答案。