Eclipse e4 product Export fail on Linux/Unix (plugin based product)
NickName:MariusHahn Ask DateTime:2019-11-15T22:31:25

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

I have an eclipse e4 rcp application. When I want to export it on Linux it fail with this error message:

/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.

The only thing I could find is this bug report where he says in the last answer that he added this to his product file:

<feature id="org.eclipse.rcp" installMode="root"/>
<feature id="org.eclipse.pde" installMode="root"/>

But this can only work for feature based product and I have a plug-in based one.

How can I do something similar within a plug-in based product?

P.S.: A college on mine has the same problem on MacOs. On Windows everything works fine.

Copyright Notice:Content Author:「MariusHahn」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/58879111/eclipse-e4-product-export-fail-on-linux-unix-plugin-based-product

More about “Eclipse e4 product Export fail on Linux/Unix (plugin based product)” related questions

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

I have an eclipse e4 rcp application. When I want to export it on Linux it fail with this error message: /home/marius/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/temp/org.eclipse.pde.

Show Detail

Automating the export of a legacy eclipse e4 application

I've had a legacy eclipse e4 application product dropped in my lap. Plugin-based, circa 2014. Right now the build process is &quot;Run eclipse, then do these point-n-click things&quot;. It needs the

Show Detail

How to install eclipse product (without gui, as a service) in arm processor 32 bit based Linux

I am preparing a eclipse product on windows machine. It simply runs as a service without any ui. I have downloded and installed delta pack. I am able to export product for intel processor based li...

Show Detail

How do export an eclipse product to Linux?

I tried to export to Linux (32 and 64 bits) an eclipse product with help of Delta Pack 4.2.2 and 4.3 but does not work and throws me the next error: Processing inclusion from feature org.eclipse.e...

Show Detail

Eclipse product export wizard - no executable files

I'm trying to export my Headless.product file in order to create an executable to launch from a .c file (jni). So this is the Headless.product window I have from my plugin project: then I hit t...

Show Detail

Eclipse: what's the proper way to export a plugin as a product?

I created an eclipse product based on a plugin. from the product pane: left side, pressing "Launch an eclipse application" invokes a new eclipse platform that is only able to create an empty proj...

Show Detail

is there an Eclipse Product Export Wizard setting to set Locations to resolve plugins?

My Eclipse product launch configurations (based on plugins), the Target Definitions, and the Manifest all have the latest versions of dependency plugins, they get resolved without any errors, and the

Show Detail

Include JRE by using Eclipse Product Configuration

I'm using Eclipse Mars(4.5.2) and already create a plugin project. I'm using "Eclipse product export wizard" to export the product to multiple platforms. So it's working now. please help me to inc...

Show Detail

Eclipse Product Export error

Hi I have an Eclipse RCP application. I have a plugin and an associated feature. In order to create an executable file for the RCP application, I am running Eclipse product export wizard. When I ru...

Show Detail

Are features optional or not in an Eclipse e4 application/plugin?

I am trying to understand the concept of eclipse e4 for RCP. After reading following the tutorial, I am stuck in the following: Assume I create a Plugin project (no Rich Client unchecked, Actvator

Show Detail