Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 9814

Summary: [Navigator] Copy and move deletes existing resources
Product: [Eclipse Project] Platform Reporter: Stein M. Eliassen <dulci>
Component: UIAssignee: Knut Radloff <knut_radloff>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: erich_gamma
Version: 2.0   
Target Milestone: 2.0 M6   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Stein M. Eliassen CLA 2002-02-14 09:33:54 EST
When I copy or move a directory to another directory, the existing directory
gets deleted:

* open Navigator-view
* create a new Java-project, like 'test'
* select 'src'-directory in 'test' and import
plugins/org.eclipse.ui.examples.propertysheet/propertysheetsrc.zip
* import
/home/steinme/eclipse/plugins/org.eclipse.ui.examples.multipageeditor/multipageeditorsrc.zip
to the root-directory of 'test', ie. not into 'src'

Now we have a scenario where we "forgot" to import into correct directory...

* move test/org to test/src

Now you get a 'Resource Exist'-dialog asking if you wish to overwrite, select 'Yes'.

What I have under test/src/org.../examples is just 'multipageeditor', no
'propertysheet'.

What I expect is to have both, I think it's similiar with how Windows-explorer
works.

When selecting 'Yes' for overwrite above, I expect overwrite of excisting
resources, not a complete removal.
Comment 1 Erich Gamma CLA 2002-02-15 04:55:27 EST
The scenario is in the navigator moving to platform.
Comment 2 Knut Radloff CLA 2002-09-05 17:34:50 EDT

*** This bug has been marked as a duplicate of 15894 ***