Bug 61204

Summary: Copy of source folders should consider parent folders
Product: [Eclipse Project] JDT Reporter: Dirk Baeumer <dirk_baeumer>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: 3.0 RC2   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Dirk Baeumer CLA 2004-05-06 09:41:53 EDT
I20040505

Test Case:

- Test/xxx/yyy where yyy is a source folder inside Test
- copy yyy by calling IPackageFragmentRoot#copy using the project Test2
  as a target
- you get Tests/yyyy

As a target we provide the project Test2. Shouldn't copy of source folders 
consider parent folders as well as copy of a package does ?
Comment 1 Philipe Mulet CLA 2004-06-02 06:33:20 EDT
Packages do exist relatively to a root. Roots do not need to have their parent 
chain copied since they could get arbitrarily nested elsewhere (Test/xxx/yyy --
> Tests/other/yyy).

Jerome - pls double check that the package scenario is consistent, and that we 
only copy parent folders up to pkg fragment root level. 
Maybe also doc should be clarified if necessary.
Comment 2 Jerome Lanneluc CLA 2004-06-04 05:48:56 EDT
Package scenario is consistent: copying a package copies all the folders of 
the package, but not the source folder that contains the package.