Bug 30857 - IPackageFragmentRoot: copy removes source folders from classpath
Summary: IPackageFragmentRoot: copy removes source folders from classpath
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 major (vote)
Target Milestone: 2.1 M5   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-04 06:44 EST by Adam Kiezun CLA
Modified: 2003-02-11 09:52 EST (History)
0 users

See Also:


Attachments

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