Bug 30857

Summary: IPackageFragmentRoot: copy removes source folders from classpath
Product: [Eclipse Project] JDT Reporter: Adam Kiezun <akiezun>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: P3    
Version: 2.1   
Target Milestone: 2.1 M5   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Adam Kiezun CLA 2003-02-04 06:44:41 EST
copy a source folder 'src' from project 'p' to the same project 'p' (give it a 
different name, 'src1')
model flags are REPLACE | DESTINATION_PROJECT_CLASSPATH
core flags are KEEP_HISTORY

src is no longer a source folder in 'p'!
Comment 1 Jerome Lanneluc CLA 2003-02-04 10:14:54 EST
CopyPackageFragmentRootOperation.addEntryToClasspath(...) was wrongly using the 
the original entry path to detect collision instead of the destination path.

Fixed and added regression test RootManipulationsTests.testCopySourceFolder6()
Comment 2 David Audel CLA 2003-02-11 09:52:00 EST
Verified.