Java Eclipse e4产品在Linux/Unix上导出失败(基于插件的产品)
我有一个Eclipse4RCP应用程序。当我想在Linux上导出它时,它会失败,并显示以下错误消息:Java Eclipse e4产品在Linux/Unix上导出失败(基于插件的产品),java,linux,eclipse,eclipse-plugin,eclipse-rcp,Java,Linux,Eclipse,Eclipse Plugin,Eclipse Rcp,我有一个Eclipse4RCP应用程序。当我想在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 oc
/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.
我唯一能找到的是,他在最后一个答案中说,他将此添加到他的产品文件中:
<feature id="org.eclipse.rcp" installMode="root"/>
<feature id="org.eclipse.pde" installMode="root"/>
但这只适用于基于功能的产品,我有一个基于的插件
如何在基于插件的产品中执行类似操作
附言:我的学校在MacOs上也有同样的问题。在Windows上,一切正常 在我的例子中,问题是目标文件夹不是空的。导出到空文件夹有效。导出RCP向导已被弃用,并且随着时间的推移,问题不断积累。唯一真正受支持的导出是使用Maven+EclipseTycho。