Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » How to download a specific version of SWT ?
How to download a specific version of SWT ? [message #1412930] Wed, 27 August 2014 11:42 Go to next message
Gidi Gal is currently offline Gidi GalFriend
Messages: 42
Registered: July 2009
Member
Hello to the forum members,

I'd like to debug a problem I have in swt 3.6.3v3659f. I'm new to Git and to the structure of sources in Eclipse projects. I downloaded Git and also downloaded EGit and tried to follow "Using SWT from Git" page:
1) I cloned Git repository and selected the "master" branch" only.
2) Before I imported the projects I selected the tag "v3659f" and selected "Checkout".
3) I imported the org.eclipse.swt project.

I have errors in the project. It seems that the project does not have the correct structure of packages - I get "Package does not exist in the plugin" errors in MANIFEST.MF for a bunch of org.eclipse.swt.* packages in the "Export-Package" section.

If anyone has an idea what is missing here, I'll be grateful for your comments.

Thanks,
Gidi

Re: How to download a specific version of SWT ? [message #1412952 is a reply to message #1412930] Wed, 27 August 2014 12:15 Go to previous messageGo to next message
Gidi Gal is currently offline Gidi GalFriend
Messages: 42
Registered: July 2009
Member
Problem solved, I missed the part in the instructions that related to .classpath.
Re: How to download a specific version of SWT ? [message #1412975 is a reply to message #1412930] Wed, 27 August 2014 13:27 Go to previous messageGo to next message
Gidi Gal is currently offline Gidi GalFriend
Messages: 42
Registered: July 2009
Member
Next problem: when I try to launch my debug session I get error
java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM
So, the question is how to set org.eclipse.swt to support Windows 64 bit ?

Thanks,
Gidi
Re: How to download a specific version of SWT ? [message #1412991 is a reply to message #1412975] Wed, 27 August 2014 14:14 Go to previous messageGo to next message
Niraj Modi is currently offline Niraj ModiFriend
Messages: 48
Registered: November 2013
Member
You seems to be loading 32-bit SWT libraries on a 64-JVM, so fix your class-path either point to 64-bit SWT or use 32-bit JVM.
SWT FAQs page: http://www.eclipse.org/swt/faq.php
Re: How to download a specific version of SWT ? [message #1413040 is a reply to message #1412991] Wed, 27 August 2014 16:10 Go to previous messageGo to next message
Gidi Gal is currently offline Gidi GalFriend
Messages: 42
Registered: July 2009
Member
Hello Niraj,

Thanks for your reply. Which classpath file should I use for SWT project ? I see only .classpath_win32, there's no .classpath_win64.

Thanks,
Gidi
Re: How to download a specific version of SWT ? [message #1413304 is a reply to message #1413040] Thu, 28 August 2014 08:44 Go to previous message
Niraj Modi is currently offline Niraj ModiFriend
Messages: 48
Registered: November 2013
Member
Same classpath is used for 32-bit and 64-bit Windows, just rename ".classpath_win32" to ".classpath" and set appropriate JVM and SWT libraries.
Previous Topic:Browser doesn't renew cache
Next Topic:Create a new Mail in Lotus Notes from within Eclipse RCP
Goto Forum:
  


Current Time: Fri Apr 26 18:43:18 GMT 2024

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

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

Back to the top