How to use latest SWT in Eclipse RCP4 application? - eclipse

I have two question about using SWT in Eclipse RCP4 application?
Q1: Why Eclipse 4x (Luna, Mars, Neon, Oxygen..) still use SWT 3.x but not 4.x? I downloaded SWT build with Eclipse Neon project (http://download.eclipse.org/eclipse/downloads/drops4/R-4.6.1-201609071200/), but it is not the SWT which is used by Eclipse Neon.
Q2: When I created new RCP4 application by Eclipse Neon, this RCP4 application used the SWT library which is used by Eclipse Neon (SWT 3.x). How can I use SWT 4.x in my RCP4 application and How can Maven-Tycho build SWT 4.x for this application?

The SWT included with Eclipse Neon is the same as this download.
The download is numbered 4.6.1 to show that it is part of the Eclipse 4.6.1 (Neon.1) release. The SWT plugin version is 3.105.1. All 4.6.1 downloads include the same SWT.
You can also look at the libxxx-4626.xxx files in the two jars. The 4626 is in internal SWT version (4.626).
You can also call SWT.getVersion() which returns 4626 (the internal version) in both cases.
So there is nothing to do.

Related

Will an old Eclipse RCP plugin work with Eclipse Che?

I am having very basic doubt about Eclipse Che. Can an old Eclipse plugin (developed for Eclipse 3.x) be deployed into Eclipse Che?
Can an old Eclipse plugin (developed for Eclipse 3.x) be deployed into Eclipse Che?
No. Eclipse Che is an entirely new code base that does not use Eclipse IDE Plug-ins. Neither for Eclipse 4.x for that matter.

How to install Flex Builder 3 plugin to eclipse Mars.2

We have been using Flex Builder 3 for years, and there are a lot of projects has flex mxml codes for front end.
Now I am trying to upgrading Eclipse from Ganymede(3.4.2) to Mars(4.5.2). I am wondering is there a way to use Flex Builder plugin with Editor and debugging features? There should be a backwards compatibility for these plugins.
You can try it with Eclipse Profiles. If you're able to install the Plugin(https://marketplace.eclipse.org/content/yatta-profiles)into your Ganymede Eclipse you can migrate your Eclipse to Mars with it.
The Eclipse versions are supported upon Kepler but give it a try...

Eclipse Luna SWT version

¿Is there a way to know the version of SWT that it was used to develop a certain version of Eclipse?.
I only could find an SWT version on the Plug-ins tab of the Eclipse Installation Details, but I am not sure if that is the SWT used to run Eclipse.
Your assumption is right. The plug-in with the id org.eclipse.swt is indeed the version of SWT that runs Eclipse.

Using old version of GWT SDK with Eclipse Luna

we have a project which is compatible with GWT SDK 2.4 and Eclipse Indigo. I am trying to move to Eclipse Luna. Although I have made a progress, I couldn't get all of the features yet. Here is what I've done:
Downloaded Eclipse Luna and JDK 1.7 (both 64 bit)
Using install new software, installed last version of GWT SDK and
designer
Downloaded GWT SDK 2.4
Set this SDK as default (I copied some jars from SDK 2.6 in order to
do this)
After this installation, the project succesfully compiled and debugged. In addition, there are no problems with GWT Designer with my old ui.xml files. However, when I try to add new page I realized that Add New MVP view is gone. Is there a way to bring back this feature? Or can I copy from old Eclipse plugins?

Eclipse Luna without built-in plugins

Eclispse Luna has been just released. I wanted to grab it from the download site. But here comes my problem. Even the Standard and Java Developer versions have features built-in which are not needed for me and just slows down the IDE. For example i do not use Mylin or Plug-in development. These things cannot be deleted from the installation... Is there an Eclipse Luna release which only contains the basic package?
Look at the Eclipse Project downloads
The Eclipse Platform is the smallest (but does not even have Java development).
The Eclipse SDK has Java and Plugin development and the Eclipse source. This is the one I always start from.