Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » [Releng] How to setup a swt source workspace
[Releng] How to setup a swt source workspace [message #1151197] Wed, 23 October 2013 07:27 Go to next message
Esteban Dugueperoux is currently offline Esteban DugueperouxFriend
Messages: 340
Registered: July 2009
Senior Member
Hi swt team,

I would like to find the commit in cause of my regression, see
http://www.eclipse.org/forums/index.php/t/560710/ , and I would like to
setup a swt source workspace environment. Is there a wiki page
explaining how to setup this?

Best Regards.
Re: [Releng] How to setup a swt source workspace [message #1167091 is a reply to message #1151197] Sat, 02 November 2013 11:43 Go to previous messageGo to next message
Mads Tandrup is currently offline Mads TandrupFriend
Messages: 1
Registered: November 2013
Junior Member
Hi

I've tried to follow the guidance on http://www.eclipse.org/swt/git.php and http://www.eclipse.org/swt/faq.php#howbuildjar.

Unfortunately I'm having some problems with building the JNI part of SWT on OS X 10.9. I suspect I have the wrong version of the xulrunner SDK. But I can't find any documentation on which version goes with what SWT version.

Best regards,
Mads

[Updated on: Thu, 14 November 2013 10:19]

Report message to a moderator

Re: [Releng] How to setup a swt source workspace [message #1174946 is a reply to message #1167091] Thu, 07 November 2013 12:16 Go to previous messageGo to next message
Arun Thondapu is currently offline Arun ThondapuFriend
Messages: 11
Registered: April 2011
Junior Member
If you're looking for information on which xulrunner versions are compatible with which versions of SWT, please check this link - http://eclipse.org/swt/faq.php#browserlinux
Re: [Releng] How to setup a swt source workspace [message #1175119 is a reply to message #1174946] Thu, 07 November 2013 14:36 Go to previous messageGo to next message
Esteban Dugueperoux is currently offline Esteban DugueperouxFriend
Messages: 340
Registered: July 2009
Senior Member
Great thanks Mads and Arun.
Re: [Releng] How to setup a swt source workspace [message #1184308 is a reply to message #1174946] Wed, 13 November 2013 11:09 Go to previous message
Esteban Dugueperoux is currently offline Esteban DugueperouxFriend
Messages: 340
Registered: July 2009
Senior Member
I have followed the documentation you have provided but when I try to
launch a Eclipse in debug I have the following trace :

!ENTRY org.eclipse.osgi 4 0 2013-11-11 13:11:03.735
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
no swt-gtk-4409 in java.library.path
no swt-gtk in java.library.path
Can't load library: /home/esteban/.swt/lib/linux/x86_64/libswt-gtk-4409.so
Can't load library: /home/esteban/.swt/lib/linux/x86_64/libswt-gtk.so

at org.eclipse.swt.internal.Library.loadLibrary(Library.java:327)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:236)
at org.eclipse.swt.internal.C.<clinit>(C.java:21)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
at org.eclipse.swt.widgets.Display.<clinit>(Display.java:133)
at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:695)
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
at
org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:154)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:96)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
at org.eclipse.equinox.launcher.Main.main(Main.java:1414)


I'm on a Linux Ubuntu 13.10 64 bits, I have cloned
http://git.eclipse.org/gitroot/platform/eclipse.platform.swt.git and
http://git.eclipse.org/gitroot/platform/eclipse.platform.swt.binaries.git.
I have imported in my workspace the "org.eclipse.swt" project from the
first git repo and "org.eclipse.swt.gtk.linux.x86_64" project from the
second git repo. In the first project I have renamed .classpath_gtk to
..classpath to have the project compiles without errors. I have changed
the build path to have "Native library location" property (in Source tab
for the "Eclipse SWT/gtk" source folder ) point to the second project.

The second project contains the libswt-gtk-4412.so native library while
the stacktrace talks about libswt-gtk-4409.so

Does someone have successfully setup a swt dev workspace for gtk 64 bits?

Le 07/11/2013 13:16, Arun Thondapu a écrit :
> If you're looking for information on which xulrunner versions are
> compatible with which versions of SWT, please check this link -
> http://eclipse.org/swt/faq.php#browserlinux
Previous Topic:Text does not lose focus after switching Composite on StackLayout
Next Topic:Error after launching exported RCP e4 Application (Exception while activating instance...)
Goto Forum:
  


Current Time: Fri Nov 28 07:11:10 GMT 2014

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

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