Eclipse 3.4 development powered by Eclipse 3.3

I am developing an Eclipse plugin based on a bunch of core Eclipse plugins like SWT, JDT, GEF and others.

I need my plugin for compatibility with Eclipse 3.3, as many potential clients still use it. However, I personally like the new features in Eclipse 3.4 and would like to use it for my development. This means that I need a PDE to reference code 3.3, and when debugging, an instance of 3.3.

Any tips on how this can be achieved?

Thanks.

+6
eclipse eclipse-pde
source share
3 answers

You can change the Target Platform setting to point to the location of an existing set of eclipse 3.3 plugins. This will compile your code against plugins 3.3, ensuring that they remain compatible no matter what version of eclipse you use to develop the application.

The parameter is located under Window-> Preferences-> Plug-in development-> Target Platform

+12
source share

What did Barack say. See also this topic in the Eclipse help:

http://help.eclipse.org/stable/index.jsp?topic=/org.eclipse.pde.doc.user/guide/tools/preference_pages/target_platform.htm

Note:

  • default target platform is Eclipse installation
  • your development environment should be at least as recent as the target platform (i.e. you cannot use 3.3 as a development environment and target 3.4)
  • It also allows you to develop against plugins that you do not have in developing Eclipse.
+1
source share

And isn't that a way to develop a plugin for a newer version? For example: develop a new plugin for 3.5 to 3.4 ...

0
source share

All Articles