Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 330979

Summary: Support getEntry on installed bundles in PDE dev mode
Product: [RT] Gemini.JPA Reporter: Shaun Smith <shaun.smith>
Component: CoreAssignee: Shaun Smith <shaun.smith>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: krum.tsvetkov
Version: 1.0.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 331460    
Attachments:
Description Flags
Patch to support .classpath defined bin path none

Description Shaun Smith CLA 2010-11-23 17:56:36 EST
Bug 160133 (at this point unresolved) describes the issue.  In PDE, bundle projects differ on disk from what they will look like when exported to a jar and bundle.getEntry in Equinox does not account for this difference.  It fails to find classes and other resources that are in the bin path of the bundle project.  

To support ease of development in PDE, Gemini JPA should support locating classes and other resources in the bin path identified in the Eclipse .classpath file.
Comment 1 Shaun Smith CLA 2010-11-23 17:57:48 EST
Created attachment 183718 [details]
Patch to support .classpath defined bin path
Comment 2 Shaun Smith CLA 2010-12-03 17:14:59 EST
Patch applied in SVN TX 85.