Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » [Solved] Deleting a Workspace or Project(How to delete a Workspace or Project WITHIN Eclipse)
[Solved] Deleting a Workspace or Project [message #638892] Fri, 12 November 2010 23:15 Go to next message
Rico  is currently offline Rico Friend
Messages: 6
Registered: November 2010
Junior Member
I posted this in the Newcomers section but realized it may be a more advanced topic. Sorry about the double post.


I'm getting the dreaded "overlaps the location of another project:" problem.

I've searched up and down for a solution to this and can't seem to find one.

I've been trying to get subversive to work and read that all I needed to do was start a new project with code that had all the .svn stuff in it and subversive would recognize it. After I created the project I noticed it wasn't a C++ project. I couldn't figure out how to convert it so I decided to delete it.

I didn't remove the folder/files from the HDD but just from the IDE window.

So, I decided to try and create a new C++ project and see if it would work. I can't do it because of this stupid problem.

Is there an easy way to delete a workspace or project in Eclipse?

Don't point me to some blog about how /usr/lib/eclipse/configuration/.setting blah, blah, blah because that file doesn't exist on my machine.

I'm using Kubuntu 10.10 with Eclipse 3.5.2. Apparently they removed the convert wizard in this release and where the .setting file is.

Is there a way to delete a workspace or project WITHIN the Eclipse IDE (GUI)?

If not - there should be because this is completely ridiculous.

[Updated on: Tue, 16 November 2010 15:57]

Report message to a moderator

Re: Deleting a Workspace or Project [message #638964 is a reply to message #638892] Sun, 14 November 2010 04:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bruce.ring.sbcglobal.net

Did you try deleting the .metadata directory in the workspace directory?

"Rico" <rico.moss@gmail.com> wrote in message
news:ibkhk1$3mp$1@news.eclipse.org...
>I posted this in the Newcomers section but realized it may be a more
>advanced topic. Sorry about the double post.
>
>
> I'm getting the dreaded "overlaps the location of another project:"
> problem.
>
> I've searched up and down for a solution to this and can't seem to find
> one.
>
> I've been trying to get subversive to work and read that all I needed to
> do was start a new project with code that had all the .svn stuff in it and
> subversive would recognize it. After I created the project I noticed it
> wasn't a C++ project. I couldn't figure out how to convert it so I decided
> to delete it.
>
> I didn't remove the folder/files from the HDD but just from the IDE
> window.
>
> So, I decided to try and create a new C++ project and see if it would
> work. I can't do it because of this stupid problem.
>
> Is there an easy way to delete a workspace or project in Eclipse?
>
> Don't point me to some blog about how
> /usr/lib/eclipse/configuration/.setting blah, blah, blah because that file
> doesn't exist on my machine.
>
> I'm using Kubuntu 10.10 with Eclipse 3.5.2. Apparently they removed the
> convert wizard in this release and where the .setting file is.
>
> Is there a way to delete a workspace or project WITHIN the Eclipse IDE
> (GUI)?
>
> If not - there should be because this is completely ridiculous.
>
Re: Deleting a Workspace or Project [message #639066 is a reply to message #638892] Mon, 15 November 2010 08:09 Go to previous messageGo to next message
Axel Mueller is currently offline Axel MuellerFriend
Messages: 1967
Registered: July 2009
Senior Member
You cannot delete a complete workspace from within Eclipse. You have to do this on the actual file system. As mentioned in the last post all the Eclipse workspace data is stored in the directory .metadata in the workspace directory. If you delete this directory Eclipse will not longer recognize it as a workspace folder.
Projects can be deleted within Eclipse. Just select the project and choose delete. If you want to completely remove it from your harddisk you have to select "Delete project contents on disk" in the appearing dialogue.


Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Re: Deleting a Workspace or Project [message #639236 is a reply to message #639066] Mon, 15 November 2010 17:36 Go to previous messageGo to next message
Rico  is currently offline Rico Friend
Messages: 6
Registered: November 2010
Junior Member
Ok, so deleting the .metadata directory will remove a workspace. Nice.

Now, about removing a project. If you select a project within Eclipse and choose to delete it (with or without removing it from the HDD) the project no longer appears in the Eclipse GUI. However, if you try to recreate the project you cannot do so. When you point to the folder which was a previous project it will fail stating: "overlaps the location of another project:"

Why would it do that unless it didn't actually remove it as an Eclipse project. What is the way around this?
Re: Deleting a Workspace or Project [message #639342 is a reply to message #639236] Tue, 16 November 2010 07:57 Go to previous message
Axel Mueller is currently offline Axel MuellerFriend
Messages: 1967
Registered: July 2009
Senior Member
Is there another project in your workspace?

Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Previous Topic:Eclipse, debugging WINE (large project) several problems
Next Topic:Hotkey for "File Search"
Goto Forum:
  


Current Time: Sun Nov 23 13:29:04 GMT 2014

Powered by FUDForum. Page generated in 0.01734 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software