I had created a Servoy solution named say xxx that I then decided to delete.
Now, when trying to create a solution named xxx, I get the following error message:
A project with this name already exists in the workspace
I’ve tried every suggestion obtained on the net (such as deleting the folder located in the sub-directories of .metadata ) but to no avail.
Window → Show view → Other → Navigator
Do you see the project in there? If you do, delete it from there.
If you don’t then have a look on your HDD to see if your project still exists as a folder in the workspace folder. If it does, then you probably didn’t check the “delete project contents on disk” when you initially deleted it, so it was only not part of the workspace, but you can’t create a new one cause it would overlap with existing folder on disk. In this case you can use File → Import → Existing projects into workspace to make it visible in the workspace again, or simply delete it from disk manually if you no longer need it.
If none of the above helps, and you don’t have lots of workspace data saved in .metadata that would be a headache to restore, you can backup/delete that entire .metadata folder and then when you start Servoy again do a File → Import → Existing projects for all remaining projects (and then restore what else is needed for these remaining projects, like Team → Share project… and such).
It works as per your instructions. For anyone else reading this page, in my set up, deleted projects can be found in the properties panel at:
Window → Show View → Project Explorer
Thanks Andrei.
You are welcome.
Does this happen to you always? (when you delete a solution from solution explorer) It sounds like you can reproduce it.
A project that is visible in Project Explorer / Navigator but not in solution explorer, either is not a solution (doesn’t have the Servoy solution nature any more, or never did - it’s another type of project) or is closed/corrupted/out of sync in some way making it impossible to determine if it’s supposed to be a solution or not.
What are the exact steps you take?
No, hibernate should have nothing to do with it.
It is possible that a partial delete happened and then failed - if you had files/folders from the project open in some other application that disallowed the deletion of files/folders, or because of some exception (you would have this mentioned by some message in the workspace log). Anyway I’m glad it works now.