| Summary: | "New PHP Project" wizard deletes original sources when going back / cancelling | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Daniel Hahler <eclipse-bugs> |
| Component: | PDT | Assignee: | PHP UI <php.ui-inbox> |
| Status: | CLOSED INVALID | QA Contact: | |
| Severity: | critical | ||
| Priority: | P3 | CC: | gadi, remy.suen, zhaozhongwei |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
Are you using PDT or PHPEclipse? PDT 2.2.0 Off this goes to PDT then. Sorry,I could not reproduce this bug following your steps. Can you supply more details? I cannot reproduce it now either (although I could when reporting this bug). I've been using the original source from c:\foo\www.svn\trunk\ and named the project WWW. I've now noticed that there's a "trunk" directory at the root of C: (apparently from the import, containing a .settings directory), although I've been using a workspace directory in the default location. The project in the workspace is referring to C:\foo\www.svn\trunk though. I could imagine this being related to either SVN and ".svn" in the path, or something alike. I might have messed things up (unintentionally) myself, but when noticing the "Deleting ..." message, I had to abort in panic and luckily the affected folders had no local changes and could get restored from SVN. You might want to look, when and if it's possible to delete files physically, when going backwards in the "New PHP Project" wizard. I'm quite sure to have used the defaults for e.g. "Project Layout", but used "from existing source" for "Contents". Hi I believe you,but can I mark this bug as invalid? (In reply to comment #6) > I believe you,but can I mark this bug as invalid? Sure, just do as you see fits. I was about to suggest this myself. Although, it's a _grave_ error that happened here, but it may have been done in front of the computer after all. Closing as 'Invalid' Kalin Yanev kalin.a@zend.com |
1. Create a new PHP project using "Create project at existing location (from existing sources)" 2. Select an existing source tree (SVN repo, quite huge) 3. "Next" 4. Either click "Cancel" (the red stop button) while in the state "Initializing project...", or just wait after it has been initialized and go "Back" 5. Eclipse removes the sources ("Removing project... Deleting $SRC_FILES.")! I could not find another, similar wizard, so it seems like this is related to the "New PHP Project" wizard only - at least with my setup (installed the php bundle). -- Configuration Details -- Product: Eclipse 1.3.0.20100617-0520 (org.eclipse.epp.package.php.product) Installed Features: org.eclipse.platform 3.6.0.v20100602-9gF78GpqFt6trOGhL60z0oEx3fz-JKNwxPY