Bug 244406

Summary: [buildpath] Internal jars refered with OS path are shown as non-Java resources
Product: [Eclipse Project] JDT Reporter: Jerome Lanneluc <jerome_lanneluc>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: markus.kell.r, Olivier_Thomann
Version: 3.4   
Target Milestone: 3.5 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 141906    
Bug Blocks:    
Attachments:
Description Flags
Proposed fix and regression test none

Description Jerome Lanneluc CLA 2008-08-18 05:52:19 EDT
I20080617-2000

(from bug 141906 comment 7)

1. Create a Java project with a separate source folder 'src'
2. Add a jar directly under the project
3. Disable 'Show Referenced Libraries' node
3. Edit the .classpath file and add the following line:
  <classpathentry kind="lib" path="<full OS-path to the jar>"/>
Observe: The jar appears twice.

This is because the jar is in the list of the non-Java resources of the Java project. It should not be there.
Comment 1 Jerome Lanneluc CLA 2008-08-18 05:57:20 EDT
Need to coordinate the fix to this bug with the fix to bug 141906.
Comment 2 Jerome Lanneluc CLA 2008-08-18 07:18:19 EDT
Created attachment 110218 [details]
Proposed fix and regression test
Comment 3 Jerome Lanneluc CLA 2009-03-23 11:24:19 EDT
Fix and test released for 3.5M7
Comment 4 Kent Johnson CLA 2009-04-28 12:22:55 EDT
Verified for 3.5M7 using I20090428-0100