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

Bug 248767

Summary: Incorrect classpath given folder shaped bundles with .classes in folders
Product: [Eclipse Project] PDE Reporter: Andrew Niefer <aniefer>
Component: BuildAssignee: pde-build-inbox <pde-build-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.5   
Target Milestone: 3.5 M3   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 248768    
Attachments:
Description Flags
patch none

Description Andrew Niefer CLA 2008-09-26 14:56:49 EDT
Given a binary bundle shaped as a folder and with .class files on disk instead of being jared:

org.foo_1.0.0/META-INF/MANIFEST.MF
             /org/.../*.class
             /plugin.xml


PDE/Build is generating an incorrect classpath for bundles that depend on this.

They are getting a classpath entry:
..../org.foo_1.0.0/@dot
when it should just be
..../org.foo_1.0.0/

The @dot is correct only when the org.foo bundle is not binary and is being compiled.
Comment 1 Andrew Niefer CLA 2008-09-26 15:39:38 EDT
Created attachment 113624 [details]
patch

Initial patch.  Requires more testing
Comment 2 Andrew Niefer CLA 2008-09-30 16:58:35 EDT
done in HEAD with 2 tests