I’m developing an Eclipse plugin and set the Target Platform to “Running Platform”. However, if I press Alt-Shift-F1 on a Java project in the Eclipse instance I’m developing in it says it’s an IJavaProject but if I do the same in the target Eclipse Instance it says it’s an IProject. Also, code completion can’t find the interface IJavaProject. It looks like the target platform is incompatible with the running platform after all.
Any ideas?
The target platform defines the possible set of plugins that are available. What you are running will can be a subset of that. Have a look at your launch configuration in the plugins tab and make sure it’s what you want – probably “all workspace and enabled target plugins”. Also make sure in your target platform setup and you are selecting all of the plugins of the target platform.