Community
Participate
Working Groups
Build Identifier: eclipse helios sr1 with pdt 2.2.1 PDT's Project name is kept in sync with the folder name of the project. Where actually, for convenience I used to type my folder name completely in lowercase without dashes and so on (for faster access in the browser's location bar), but in eclipse I wanted my project to be named as the original product name with uppercase letters and dashes. Seems like PDT keeps this two independet names in sync? I wish this could go independent :) I even tried to rename the project in the .project file but that doesn't work. Either the project's name in the .project file is ignored or there is an eclipse cache I don't know of. As an expected behavior, renaming a project renames the project's name in the .project file rather than the folder that contains the .project file. Reproducible: Always Steps to Reproduce: 1. Create a new PHP Project, name it "abcde" 2. Rightclick the Project > Refactor > Rename... and enter "ABC-DE" 3. Sometimes there happens to be an error, wether the file in <workspace loc>/.metadata/.plugins/org.eclipse.core.resources/<project-name> already exists 4. Check the name of the project's folder. That changed, too. Trying to move a project throught Rightclick -> Refactor -> Move... always "overlaps the location of another project". Where actually the Rightclick -> Refactor -> Rename... IS the move-command.
Hi Gossi, when creating new PHP project you can use whatever name you like and then select "Create project at exisisting location (from existing source)" to point to the location that you want. (See screenshot)
Created attachment 189417 [details] screenshot
Hey Jacek, Thanks for your screenshot and explanation, I tested it. It works unless the folder you want to create the project in is not in your workspace, why? The error is "Cannot create project content in workspace." Nevertheless, the Refactor Rename.../Move... actions are broken.
I remember the rename function in zend studio will not change the folder name.
Now I am using Indigo and pdt 3.0,rename will not change the project folder's name and there is no "overlaps the location of another project" when I move a php project.
rechecked it with the indigo release, nothing changed there.
I see the same problem with the new VJET plugin (See https://bugs.eclipse.org/bugs/show_bug.cgi?id=401607) does this problem go back to DLTK? I might create another bug there mark the others as duplicate. Is this helpful?
Same issue. I wanted to rename the project and not the folder on disk.