Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 118918 - cannot properly import jdt core plugin as source
Summary: cannot properly import jdt core plugin as source
Status: RESOLVED DUPLICATE of bug 120326
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-01 15:03 EST by Karice McIntyre CLA
Modified: 2005-12-12 02:03 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karice McIntyre CLA 2005-12-01 15:03:19 EST
Using the 3.2 I20051130-1215 build 
From the Plug-ins view, import all plugins (from the same build) into the workspace as source.  
Then run a target workbench.  
Bug symptom: You get a bunch of class not found errors because the jdt core bundle could not be activated:

!ENTRY org.eclipse.osgi 2005-12-01 14:58:13.219
!MESSAGE An error occurred while automatically activating bundle org.eclipse.jdt.core (237).
!STACK 0
org.osgi.framework.BundleException: The activator org.eclipse.jdt.core.JavaCore for bundle org.eclipse.jdt.core is invalid

If I modify the manifest file to remove . from the classpath and add the jdt core jar file to to the classpath then the target runs without these errors.
Comment 1 Karice McIntyre CLA 2005-12-01 16:13:00 EST
Some extra info - this worked in the 1123 build.
Comment 2 Wassim Melhem CLA 2005-12-12 02:03:39 EST
this is because jdt/core source code was not being located correctly.

*** This bug has been marked as a duplicate of 120326 ***