Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse Plug-In Dependencies Vanished

I am developing OSGi in Eclipse, and the plugin dependices has vanished for a project.

I have checked .classpath, and it seems fine:

<classpath>
    <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
    <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
    <classpathentry kind="src" path="src"/>
    <classpathentry kind="output" path="bin"/>
</classpath>

I have tried starting eclipse with -clean and I have tried creating a new workspace and importing the projects into that workspace - no luck with either.

Any ideas? :)

like image 564
mjgp2 Avatar asked Dec 28 '22 18:12

mjgp2


2 Answers

Some strange eclipse bug. Re-edited the manifest file, and the dependencies reappeared and the project successfully compiled.

like image 93
mjgp2 Avatar answered Jan 06 '23 12:01

mjgp2


In case anyone still encounters this issue, the solution that worked for me eventually was (on Eclipse 4.3)

  1. Delete the org.eclipse.pde.core.prefs file under the .settings folder in the plugin project
  2. Remove/Delete the project from the workspace
  3. Re-import the project back into the workspace

This should fix the Plug-in Dependencies entries for that project.

Hope it helps!

like image 20
Murali Avatar answered Jan 06 '23 12:01

Murali