Missing plugins when exporting Eclipse e4 RCP Application containing Birt (Eclipse 2019-3) - eclipse

Currently I am in the process of moving one of our RCP applications from an older version of Eclipse to the current version 2019-03.
Our application is feature based an makes use of the Birt report generator.
When trying to lauch the application via its product-file lots of unresolved plugin requirements appear, as the combination of RCP and Birt now seems to depend on different versions of org.apache.batik.* (1.7.0 and 1.8.0).
I can get the app running by manually enabling the different versions via Run -> Run Configurations -> Plugins. But of course this does not help when trying to export the RCP through the Eclipse product export wizard. The exported app is missing various plugins.
So I tried to manually edit the manifest.mf of the plugin that is dependent on birt:
Require-Bundle:
org.apache.batik.css;bundle-version="1.7.0",
org.apache.batik.css;bundle-version="1.8.0",
...
But this does not seem to have any effect on the plugins beeing exported.
The tip to switch back to a plugin-based project (How best to maintain an Eclipse RCP plugin target? 1 ) does not seem to work either.
So does anybody know how to get Eclipse to export all required versions of the org.apache.batik plugins?
Thanks a lot in advance!
Tom

Related

Is there a way to reuse Plugins selection in Eclipse Run Configuration

I'm creating an Eclipse RCP App.
In order to test/debug, I run this App. from within Eclipse IDE using a run configuration.
I would like to be able to reuse this conf., specially the needed plugins list in order to import it in newer Eclipse IDE release or among several Eclipse IDE instance installed on several computers.
Is there a way to export/import this whole config. or at least selected plugins list ?
thks in advance

Eclipse 4 RCP - how to create project?

I am using eclipse 4 application platform for building custom ide like app, but i am still not sure what libraries i can use.
For instance i can't find some API which is responsible for maintaining projects.
Is it even possible to create project or this is just part specific for eclipse as IDE and can't be used if i am using e4 rcp?
The org.eclipse.e4.rcp, org.eclipse.emf.core and org.eclipse.emf.ecore Eclipse features list all the plugins that a pure e4 application uses.
The list includes most of the org.eclipse.core.xxx plugins but not the org.eclipse.core.resources plugin which contains the workspace code (things like IFile and IWorkspace).
So if you want projects and workspaces you would have to write you own code for that - which would not be compatible with any other Eclipse 3.x plugins.

Can't find so many predefined file types in Eclipse Kepler

I have downloaded a new Eclipse Kepler IDE yesterday and I am unable to find the dynamic web project template and all other related files in there like jsp file, servlet etc. This means I am unable to create these files directly by choosing from wizard, like I was doing in Eclipse Helios. Also, it's not possible to run the previous projects that were built using Eclipse Helios? Does Kepler support web projects or not, or am I the only one who is struggling with this problem? I am using java since two weeks now, so I don't have much experience with other Eclipse versions too. Any help?
Sounds like you got the wrong distribution. You probably want the "Eclipse for Java EE developers" distribution, since that includes web development tools etc. by default.

Remove RunAs->Local C/C++ Application from Eclipse Product

We are developing a development and testing platform for C projects in Eclipse platform. However, i need to remove RunAs->Local C/C++ Application from the Eclipse UI.
I am adding CDT plug-in in dependencies in the EClipse.Prodcut and tried to to remove the RunAs->Local C/C++ Application by removing org.eclipse.debug.ui and org.eclipse.debug.core from the dependecy page but is it not hiding the RunAs->Local C/C++ Application.
Can anyone help me in this regard?
you might have a look on Eclipse RCP Activities mechanism. Here is a tutorial. you also need to investigate if CDT defines any activities for its menu actions and if so, deactivate some.

Platform-specific dependency creeping into Eclipse plugin

I have implemented a graph editor with Eclipse EMF and GMF frameworks. After completing my project, I realized that this plugin shows dependencies (not explicitly added by me) on some OS-specific plugins.i.e:org.eclipse.ui.win32, org.eclipse.swt.win32.win32.x86. And whenever I have tried to bypass this dependency at my update site something went wrong with the installation process of the plugin.
As such it is impossible to run my plugin in *nix environment or even win64 machines.This seems a very heavy constraint dependency to me. Am I doing something in a wrong way? Or is there no other way of building Eclipse plugins which are cross-platform other than building the project from scratch at each different OSs?
We created a similar style of plug-in in my project. Under "Plug-in Dependencies" in Package Explorer I can see org.eclipse.swt.win32 listed, but it is not listed in required plug-ins in plugin.xml.
We also successfully created an update site which works for Mac users without issue.
So, yes it is possible to have a cross-platform plug-in.
I would suggest you first try to to use "Export..." -> "Deployable plug-ins and fragments" to create a bunch of jar files for your plug-in. See if these can be successfully installed by copying into the drop-ins folder of a fresh eclipse installation. Do this first on a Win32 install, then try on another platform. Once you have that working, use the new Eclipse installation to create the Update site.