Bug 244406 - [buildpath] Internal jars refered with OS path are shown as non-Java resources
Summary: [buildpath] Internal jars refered with OS path are shown as non-Java resources
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.5 M7   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 141906
Blocks:
  Show dependency tree
 
Reported: 2008-08-18 05:52 EDT by Jerome Lanneluc CLA
Modified: 2009-04-28 12:22 EDT (History)
2 users (show)

See Also:


Attachments
Proposed fix and regression test (3.79 KB, patch)
2008-08-18 07:18 EDT, Jerome Lanneluc CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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