20

I recently upgraded from Eclipse Kepler to Luna. A plugin I had been working on is now showing build errors without any source being changed.

Here is an extract from my MANIFEST.MF,

Require-Bundle: org.eclipse.core.runtime;bundle-version="3.7.0",
 org.eclipse.ui;bundle-version="3.7.0",
 org.eclipse.ui.ide;bundle-version="3.7.0",
 org.eclipse.core.resources;bundle-version="3.7.0",
 org.eclipse.ui.forms;bundle-version="3.6.0",
 org.eclipse.wst.sse.ui;bundle-version="1.3.0",
 org.eclipse.jface.text;bundle-version="3.8.100",
 org.eclipse.ui.workbench.texteditor;bundle-version="3.8.101",
 org.eclipse.ui.views;bundle-version="3.6.0"

None of the core or ui bundles are resolved. I don't think Eclipse could even run without them and their equivalent .jar files are present and readable and haven't been modified as part of the upgrade, so they are not actually missing. When I try to add dependencies on the Dependencies tab the problem bundles do not show.

Eclipse was upgraded by the Arch Linux package manager. I mention it for completeness but believe it is likely identical to any other upgrade mechanism. I also tried creating a new plug-in project but the same happens, I guess this means it's a global setting. I'm relatively new to PDE and so far haven't had a need to change any settings.

6
  • 1
    What do you have in Preferences > Plug-in Development > Target Platform?
    – greg-449
    Commented Jul 3, 2014 at 16:03
  • If there are build errors, you need to tell us what they are.
    – nitind
    Commented Jul 3, 2014 at 18:06
  • @greg-449 there is only one entry and that is "Running Platform (Active)". Commented Jul 3, 2014 at 18:47
  • Apologies @nitind, the question title is the error. I hoped anyone who had seen it before would recognise it and know the fix. Commented Jul 3, 2014 at 18:50
  • Tried removing the Running Platform target definition, Applying, and then Restoring Defaults? Maybe it's just stale.
    – nitind
    Commented Jul 3, 2014 at 19:04

1 Answer 1

49

From the preference page (Preferences > Plug-in Development > Target Platform), try Removing the Running Platform target definition, Applying, and then Restoring Defaults. Maybe it's just stale and pointing to the jars that it doesn't know Arch has changed about.

9
  • 1
    This worked. I recall immediately after the upgrade there was a message about the workspace being updated in a one-way process. It is possible this introduced too many changes to remain stable. If more problems arise I think I shall rebuild the workspace entirely. Commented Jul 3, 2014 at 21:20
  • 2
    Same here... I will miss that "11250 errors" message.
    – leonbloy
    Commented Jan 27, 2016 at 2:39
  • Worked for me even though my unresolved bundle was from Xtext and not a core one.
    – Njol
    Commented Jun 24, 2016 at 14:43
  • worked for me too, this resolved all bundle errors (eclipse and specific bundles) Commented Oct 28, 2016 at 10:48
  • 1
    You just saved my weekend mood. Thanks :)
    – Joker
    Commented Nov 16, 2019 at 14:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.