[EMF/EMF Forms] RCP Dependencies / Requirements [message #1758364] |
Tue, 28 March 2017 02:47  |
Eclipse User |
|
|
|
After trying several approaches, creating a feature based RCP E4 product with EMF and EMF Forms, I have to ask the following question:
Which features are required to run a standalone E4 RCP product with EMF Forms?
Creating an Eclipse 4 RCP product with EMF standalone (+JFace-Databinding) i sorted the following feature requirements in the .product config file:
<feature id="org.eclipse.e4.rcp"/>
<feature id="org.eclipse.ecf.core.feature"/>
<feature id="org.eclipse.ecf.core.ssl.feature"/>
<feature id="org.eclipse.ecf.filetransfer.feature"/>
<feature id="org.eclipse.ecf.filetransfer.httpclient4.feature"/>
<feature id="org.eclipse.ecf.filetransfer.httpclient4.ssl.feature"/>
<feature id="org.eclipse.ecf.filetransfer.ssl.feature"/>
<feature id="org.eclipse.emf.common"/>
<feature id="org.eclipse.emf.databinding"/>
<feature id="org.eclipse.emf.databinding.edit"/>
<feature id="org.eclipse.emf.ecore"/>
<feature id="org.eclipse.emf.edit"/>
<feature id="org.eclipse.equinox.p2.user.ui"/>
<feature id="org.eclipse.equinox.p2.extras.feature"/>
<feature id="org.eclipse.equinox.p2.core.feature"/>
<feature id="org.eclipse.equinox.p2.rcp.feature"/>
<feature id="org.eclipse.help"/>
<feature id="org.eclipse.platform"/>
<feature id="org.eclipse.rcp"/>
Whenever i try to add EMF-Forms functionality to this product it ends up in unresolvable bundles in the exported standalone RCP product or much too many plugins (allmost a complete EMFForms IDE).
Launching inside the IDE is working fine, but like said above, i want only a minimalistic RCP product without unneeded features/plugins.
Basically i just want to use org.eclipse.emf.ecp.ui.view.swt.ECPSWTViewRenderer in a RCP Part like:
org.eclipse.emf.ecp.ui.view.swt.ECPSWTViewRenderer.INSTANCE.render(content, someObject)
Someone can help me?
Side note: I am using a property in my product configuration:
org.eclipse.update.reconcile=false
Thanks and Regards,
Clem
|
|
|
|
|
|
Re: [EMF/EMF Forms] RCP Dependencies / Requirements [message #1758441 is a reply to message #1758430] |
Tue, 28 March 2017 13:04  |
Eclipse User |
|
|
|
So finally i am using this features in my custom RCP product:
<features>
<feature id="my.xyz.feature"/>
<feature id="org.eclipse.e4.rcp"/>
<feature id="org.eclipse.ecf.core.feature"/>
<feature id="org.eclipse.ecf.core.ssl.feature"/>
<feature id="org.eclipse.ecf.filetransfer.feature"/>
<feature id="org.eclipse.emf.common"/>
<feature id="org.eclipse.emf.common.ui"/>
<feature id="org.eclipse.emf.databinding"/>
<feature id="org.eclipse.emf.databinding.edit"/>
<feature id="org.eclipse.emf.ecore"/>
<feature id="org.eclipse.emf.ecore.edit"/>
<feature id="org.eclipse.emf.ecp.emfforms.runtime.feature"/>
<feature id="org.eclipse.emf.edit"/>
<feature id="org.eclipse.emf.edit.ui"/>
<feature id="org.eclipse.equinox.p2.user.ui"/>
<feature id="org.eclipse.equinox.p2.extras.feature"/>
<feature id="org.eclipse.equinox.p2.core.feature"/>
<feature id="org.eclipse.equinox.p2.rcp.feature"/>
<feature id="org.eclipse.platform"/>
</features>
With this approach the product config is "valid" (in Product config editor, top right tool button "Validate...") and RCP product export and launch is working.
Still wondering about the logfile messages:
- org.eclipse.update.configurator...
- org.eclipse.equinox.ds...
from my previous post
Regards,
Clemens
|
|
|
Powered by
FUDForum. Page generated in 0.03871 seconds