Bug 1684

Summary: Eclipse 3.7.1 Plugin Failure
Product: [Yocto Project Subprojects] Eclipse Plugin Reporter: Jack Mitchell <jack>
Component: eclipse-pluginAssignee: Jessica <jessica.zhang>
Status: RESOLVED NOTABUG QA Contact:
Severity: normal    
Priority: High CC: lianhao.lu, sgw, yp.ep.watcher, yp.watcher
Version: unspecified   
Target Milestone: 1.2 M1   
Hardware: x86   
OS: x86_64   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Attachments:
Description Flags
installed eclipse plugins none

Description Jack Mitchell 2011-10-18 07:52:17 UTC
I am running the plugin using Run As > Eclipse Plugin. Plugin was working fine until my distribution updated to Eclipse 3.7.1.

Using latest git master.

Error log:

!SESSION Tue Oct 18 15:42:07 BST 2011 ------------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2011-10-18 15:42:07.964
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter
	at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
Comment 1 Lianhao Lu 2011-10-18 23:58:56 UTC
Created attachment 275 [details]
installed eclipse plugins

Not reproducible on my Eclipse 3.7.1. See attached for the installed eclipse components.
Comment 2 Jessica 2011-10-19 00:15:40 UTC
Hi Jack,

Please see Lianhao's attachment.  We just release Yocto 1.1, there're some issues with our Eclipse plug-in download URL, but you can follow the ADT manual on build the plug-in locally.  Also, in your Eclipse IDE, remove all the yocto packages before install the built Plug-in.  Please don't check "Delete Project Content on disk" which will delete your local plug-in source.
Comment 3 Jack Mitchell 2011-10-19 01:15:36 UTC
Sorry, I have now updated my Eclipse plugins to the latest versions and it works as expected now. I had assumed Eclipse would either auto-update or inform me that plugins were not compatible with the current build.

Appologies for wasting your time!
Comment 4 Jessica 2011-10-19 10:22:50 UTC
Glad things worked out.  Yeah, Eclipse setup sometime can be cumbersome. BTW, we've fixed Yocto plug-in URL, so from now on you should be able to use that URL to install the plug-in.