| Summary: | New project contains natures from a deleted project with the same name | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | John Eblen <jdeblen1> |
| Component: | Resources | Assignee: | Platform-Resources-Inbox <platform-resources-inbox> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | dj.houghton, jdeblen1, roland, Szymon.Brandys |
| Version: | 4.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
John Eblen
I believe this is the expected behaviour. As a user you are given the choice to leave the old project's data on disk when you delete the project from the workspace. When you create a new project you are given the opportunity to verify/select the location of the project on disk. (and therefore can create it in a new location if desired) If one already exists then the data from it is used. Alternatively if we created a new project at that location and automatically deleted the existing data, it could (and will most likely) lead to loss of data. Dj is right. The current behavior is expected. Shouldn't a user who wants to reuse the old project (/add it back to the workspace) use File->Import? Why would it ever make sense to create a new project (with potential different natures) but reuse the old project settings. All data besides project settings - e.g. sources in that project - wouldn't be lost either way. I think it would make much more sense if creating a new project in the place of an old project either 1) overwrites the project setting (as suggested by John) but with a dialog to verify the user wants to overwrite or 2) gives an error and thus not allowing creating a project in the place of an old project. |