Eclipse e4 产品导出在 Linux/Unix 上失败(基于插件的产品)

Eclipse e4 product Export fail on Linux/Unix (plugin based product)

我有一个 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.: 我的一个大学在MacOs上有同样的问题。在 Windows 上一切正常。

就我而言,问题是目标文件夹不为空。导出到空文件夹有效。