【发布时间】:2019-11-15 14:31:25
【问题描述】:
我有一个 Eclipse e4 rcp 应用程序。当我想在 Linux 上导出它时,它会失败并显示以下错误消息:
/home/marius/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/temp/org.eclipse.pde.container.feature/package.org.eclipse.pde.container.feature.linux.gtk.x86_64.xml:90: The following error occurred while executing this line:
/home/marius/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/temp/org.eclipse.pde.container.feature/package.org.eclipse.pde.container.feature.linux.gtk.x86_64.xml:664: The following error occurred while executing this line:
/opt/eclipse/plugins/org.eclipse.pde.build_3.10.500.v20190620-0530/scripts/genericTargets.xml:240: A problem occured while invoking the director.
The following error occurred while executing this line:
/home/marius/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/temp/org.eclipse.pde.container.feature/package.org.eclipse.pde.container.feature.linux.gtk.x86_64.xml:664: The following error occurred while executing this line:
/opt/eclipse/plugins/org.eclipse.pde.build_3.10.500.v20190620-0530/scripts/genericTargets.xml:240: A problem occured while invoking the director.
我唯一能找到的是这个bug report,他在最后一个答案中说他将这个添加到他的产品文件中:
<feature id="org.eclipse.rcp" installMode="root"/>
<feature id="org.eclipse.pde" installMode="root"/>
但这仅适用于基于功能的产品,我有一个基于插件的产品。
如何在基于插件的产品中做类似的事情?
P.S.:我的一所大学在 MacO 上也有同样的问题。在 Windows 上一切正常。
【问题讨论】:
-
导出 RCP 向导已被弃用,随着时间的推移,问题越来越多。唯一真正支持的导出是使用 Maven + Eclipse Tycho。
标签: java linux eclipse eclipse-plugin eclipse-rcp