Bug 211290 - Wrong delta renaming .classpath file
Summary: Wrong delta renaming .classpath file
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.4 M4   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-28 13:16 EST by Jerome Lanneluc CLA
Modified: 2007-12-12 10:25 EST (History)
1 user (show)

See Also:


Attachments
Proposed fix and regression test (2.52 KB, patch)
2007-11-29 06:47 EST, 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 2007-11-28 13:16:44 EST
I20071127-0800

1. Create a Java project separating source and class files
2. Deselect the filtering of *.resources in the Package Explorer
3. Rename .classpath to .classpath2
Observe: The Package Explorer still shows 'src' as a source folder and the JRE is still present.

This is because the Java delta doesn't indicate that the classpath has changed:
Java Model[*]: {CHILDREN}
	Test[*]: {CONTENT}
		ResourceDelta(/Test/.classpath)[-]
		ResourceDelta(/Test/.classpath2)[+]
Comment 1 Jerome Lanneluc CLA 2007-11-29 06:47:14 EST
Created attachment 84052 [details]
Proposed fix and regression test
Comment 2 Jerome Lanneluc CLA 2007-11-29 09:10:30 EST
Fix and test released for 3.4M4
Comment 3 Eric Jodet CLA 2007-12-12 10:25:54 EST
Verified for 3.4 M4 using build I20071211-0010