could someone from Eclipse guru explain in plain English what I do wrong? :) Suppose I have a multimodal maven project and each module is an eclipse plugin. Additionally, I have a module that creates an Eclipse feature(s) from these plugins. I want to create an Eclipse product from all my features and run it as CLI application which is run by ant. So, I create another module that contains a product file for my application. I decided that my product will be feature-oriented, thus I add the section in my product file and insert all my features there.
After that on "Configuration" tab I press "Add recommended" and Eclipse adds the next plugins
<plugin id="org.apache.felix.scr" autoStart="true" startLevel="2" />
<plugin id="org.eclipse.core.runtime" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.equinox.common" autoStart="true" startLevel="2" />
<plugin id="org.eclipse.equinox.event" autoStart="true" startLevel="2" />
<plugin id="org.eclipse.equinox.simpleconfigurator" autoStart="true" startLevel="1" />
in the configuration section of the product file.
I compile the whole of my maven project and receive an executable file that I can run in the terminal.
But unfortunately, when I start this file by command
ant -propertyfile ant.cfg -f config/compile.xml
I receive
BUILD FAILED
..... : exec returned: 139
When I start my executable file I receive "Segmentation fault"
So my question is: which plugins should I add to the configuration section of the product file?
P.S. There is a more detailed description in my another post P.P.S There was a lot of additional plugins in the product file when this product was running by Java 8 on Eclipse Kepler, should I add all of them?