Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Running e4 RCP application on GTK2
Running e4 RCP application on GTK2 [message #1743217] Tue, 13 September 2016 11:01 Go to next message
Dmitry Perl is currently offline Dmitry PerlFriend
Messages: 13
Registered: September 2016
Junior Member
Dear community, I would really use some help with the following problem.

The environment is latest neon target platform, running on Ubuntu 16.04, Fedora 24 and down.
I am starting my e4 RCP application with the following option:

--launcher.GTK_version
2

The first launch fails and it took me a while to figure out the reason - missing xmi file:

.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi


How do I make the workbench load without this file for the first time??
There are absolutely no traces on where and why it fails to load.

The workbench.xmi is produced when application gets closed for the first time.
And I don't get a chance of the first time.
When I manually produce this file by running the application without --launcher.GTK_version 2 switch - it works.

Using default GTK3 is out of the question, it just doesn't work at all and we simply have no means to figure out the compatibility issues.
If someone would tell me how to power up into GTK2 we would be able to wait until GTK3 SWT issues get resolved.

Thank you in advance!
Re: Running e4 RCP application on GTK2 [message #1743382 is a reply to message #1743217] Wed, 14 September 2016 18:22 Go to previous messageGo to next message
Erdal Karaca is currently offline Erdal KaracaFriend
Messages: 854
Registered: July 2009
Senior Member
I remember I had to export SWT_GTK3=0 when testing Neon on Ubuntu 16.04
I doubt your problem has anything to do with the missing workbench.xmi. It is recreated if it does not exist on the next start (or on initial start).
Re: Running e4 RCP application on GTK2 [message #1743405 is a reply to message #1743382] Thu, 15 September 2016 06:43 Go to previous message
Dmitry Perl is currently offline Dmitry PerlFriend
Messages: 13
Registered: September 2016
Junior Member
@Erdal
Thank you for the reply.
Yes, it is true, this was an internal issue in the application itself, not related to workbench.xmi after all.
I have gotten into an array of problems within neon-linux-gtk3-swt and the way to force the application fall back into gtk2 was quite painful.
So, this question was a side effect resulting from the struggle and can be safely ignored.


Previous Topic:Help support for e4 application
Next Topic:E4 RCP and org.apache.batik dependency
Goto Forum:
  


Current Time: Fri Apr 26 13:15:02 GMT 2024

Powered by FUDForum. Page generated in 0.03816 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top