Bug 4257 - Packages View overwrites files without warning (1GKM8WL)
Summary: Packages View overwrites files without warning (1GKM8WL)
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Adam Kiezun CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-10 23:08 EDT by Rodrigo Peretti CLA
Modified: 2002-02-08 02:55 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 Rodrigo Peretti CLA 2001-10-10 23:08:41 EDT
From Eclipse Corner:

pr1GJC7SC is still problematic (moving a project)

Additionally, and this is key, If the target directory contains a read only
file with the same name as in the source directory the operation fails.
Alternatively, if the directory contains writable files with the same name
the contents of the file in the target directory are lost. Ideally, in this
situation the user will be prompted for their action (ie. overwrite the file
y/n?) and the operation will continue.

I have been using Java based projects, but I suspect that in a simple
project you would see the same behaviour. If you try to move from source to
target as below you will see the error.

SourceDir (analogous to a project)
---> aDir
          ---> aFile

TargetDir
---> aDir
         ---> aFile (r/o)

Moving the SourceDir project to TargetDir will fail with the error described
previously. I am using Win2k with NTFS.


NOTES:

RTP (25/09/2001 11:51:59 AM)
	If moving a folder from a project to another, using the packages view,
and the destination project contains a folder with the same name and files
with the same name. File contents are overwritten with no warning.

EG (26.09.2001 11:51:33)
	AK pls check with new reorg implementation

AK (10/8/2001 12:43:29 PM)
	there are a few errors reported in this single PR:
	1. moving source folders is not possible in the packages view now so nothing to verify there
	2. moving a folder from project to project (if the destination contains the same file) does show a warning now.
		
EG (10.10.2001 22:32:56)
	need to support moving of source folders
Comment 1 Adam Kiezun CLA 2001-10-31 11:55:30 EST
fixed before 207