Bug 61204 - Copy of source folders should consider parent folders
Summary: Copy of source folders should consider parent folders
Status: RESOLVED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0 RC2   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-06 09:41 EDT by Dirk Baeumer CLA
Modified: 2004-06-04 05:48 EDT (History)
0 users

See Also:


Attachments

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