Bug 3434 - Deleting a project from the ws removes it from the buildpath! (1GKZNBS)
Summary: Deleting a project from the ws removes it from the buildpath! (1GKZNBS)
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: All Windows NT
: P2 normal (vote)
Target Milestone: 2.0 M1   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-10 22:55 EDT by Erich Gamma CLA
Modified: 2002-01-11 09:08 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 Erich Gamma CLA 2001-10-10 22:55:03 EDT
EG (10/2/2001 11:31:06 PM)
	I had a corrupt swt project in my workspace. 
	I've deleted it and added it again from the repository.
	When I built I had tons of errors since deleting the
	project from the workspace removed it from all the
	build paths! This is highly surprising and undesirable.
	This behaviour is too smart and shouldn't happen
	for free. A project on the build path is only
	a project reference. 

NOTES:

JBL (10/3/2001 1:30:17 PM)
	I think we do the same for internal jars.

PM (10/4/2001 12:03:46 PM)
	Doing less is feasible, we also adjust on folder renames. 
	Should we lose only project smartness ?

EG (04.10.2001 14:16:21)
	we should loose smartness of both rename and delete
	of projects. The UI can show a broken project
	reference. 
	Smartness at the folder level is what the user wants, but
	I still think we should not do it automatically. It should be
	a value add provided by the UI. For example, the rename
	refactoring had automatic reference update built in and
	we got complaints that users want to turn it off.
Comment 1 Philipe Mulet CLA 2001-10-19 08:15:13 EDT
We can disable the entire smartness, leaving it to the UI to figure appropriate 
actions. Are you willing to take the responsibility for this ?

If so, we should synchronize the effort, so that it does not break any build.
Comment 2 Philipe Mulet CLA 2001-10-22 13:27:06 EDT
Smart behavior removed. UI will have to provide actions to assist users like
when renaming the main type in a compilation unit.