Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to delete a Project
How to delete a Project [message #295256] Sun, 27 November 2005 04:07 Go to next message
Eclipse UserFriend
Originally posted by: nospam.nospam.com

If I have a project already created, that is now invalid for some reason=
=

(existing files no longer exist) then how can I delete that project?

The only way to delete a project in Eclipse is if you can already open i=
t. =

I cannot open it because it gives an error:
Problems while opening projects
The project description file (.project) for DMXML is missing. This f=
ile =

contains important information about the project. The project will not =
=

function properly until this file is restored.

I really wish I could just resolve this by deleting this project and =

creating a new one with the same name. But I am completely stuck in the =
=

current interface as I cannot delete a project that I cannot already ope=
n.

Is there a way to remove this? And does someone have it on their list to=
=

add a user interface to do this properly?
Re: How to delete a Project [message #295271 is a reply to message #295256] Sun, 27 November 2005 21:00 Go to previous messageGo to next message
Haris Peco is currently offline Haris PecoFriend
Messages: 1072
Registered: July 2009
Senior Member
delete it from disk with OS commands
Spurry Moses wrote:

> If I have a project already created, that is now invalid for some reason
> (existing files no longer exist) then how can I delete that project?
>
> The only way to delete a project in Eclipse is if you can already open it.
> I cannot open it because it gives an error:
> Problems while opening projects
> The project description file (.project) for DMXML is missing. This
> file
> contains important information about the project. The project will not
> function properly until this file is restored.
>
> I really wish I could just resolve this by deleting this project and
> creating a new one with the same name. But I am completely stuck in the
> current interface as I cannot delete a project that I cannot already open.
>
> Is there a way to remove this? And does someone have it on their list to
> add a user interface to do this properly?
Re: How to delete a Project [message #295294 is a reply to message #295256] Mon, 28 November 2005 11:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: automatic.javalobby.org

The easiest thing to do is to create a new project, then copy the .project folder from one place to the other project; then you can open, then delete it.

The actual place the project exists in the workspace is in the 'workspace\.metadata\.plugins\org.eclipse.core.resources\.pr ojects' directory. Removing the corresponding directory from here will make Eclipse 'forget' this project (obviously, whilst Eclipse isn't running :-)

Alex.
Re: How to delete a Project [message #295389 is a reply to message #295294] Tue, 29 November 2005 12:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: radoslawg.xxxxxxxxxxxx.xxx

Alex Blewitt wrote:
> The easiest thing to do is to create a new project, then copy the .project folder from one place to the other project; then you can open, then delete it.
>
> The actual place the project exists in the workspace is in the 'workspace\.metadata\.plugins\org.eclipse.core.resources\.pr ojects' directory. Removing the corresponding directory from here will make Eclipse 'forget' this project (obviously, whilst Eclipse isn't running :-)
>
> Alex.

I would recommend also opening bug report on this issue if it is not
already in bugzilla.

Cheers,
Radek.
Re: How to delete a Project [message #295396 is a reply to message #295389] Tue, 29 November 2005 16:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: automatic.javalobby.org

There's not a lot Eclipse can do if it's missing out the '.project' file. You can't open a project, and therefore can't do anything else with it either.

Any raised bug might want to add an enhancement request to be able to delete a closed project, though it would be questionable as to whether you'd also want to delete the resources underneath as well if you couldn't open it.

Alex.
Re: How to delete a Project [message #295417 is a reply to message #295256] Tue, 29 November 2005 19:32 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse3.rizzoweb.com

Spurry Moses wrote:
> If I have a project already created, that is now invalid for some
> reason (existing files no longer exist) then how can I delete that
> project?
>
> The only way to delete a project in Eclipse is if you can already open
> it. I cannot open it because it gives an error:
> Problems while opening projects
> The project description file (.project) for DMXML is missing. This
> file contains important information about the project. The project
> will not function properly until this file is restored.
>
> I really wish I could just resolve this by deleting this project and
> creating a new one with the same name. But I am completely stuck in the
> current interface as I cannot delete a project that I cannot already open.
>
> Is there a way to remove this? And does someone have it on their list
> to add a user interface to do this properly?

Right click on the Project and choose Delete.


I just did this the other day, and it definitely worked for a project
even though the files were not physically there any more.

HTH,
Eric
Re: How to delete a Project [message #295441 is a reply to message #295396] Wed, 30 November 2005 10:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: radoslawg.xxxxxxxxxxxx.xxx

Alex Blewitt wrote:
> There's not a lot Eclipse can do if it's missing out the '.project' file. You can't open a project, and therefore can't do anything else with it either.

It could get rid of the project out from workspace. As I understand
initial post it is not possible and user must fiddle around with inner
eclipse workings (.metadata directory) which may be not comprehensible
for all users.

>
> Any raised bug might want to add an enhancement request to be able to delete a closed project,

That is what I think would be appropriate.

> though it would be questionable as to whether you'd also want to delete the resources underneath as well if you couldn't open it.

Ask for it - as usual?

> Alex.

Cheers,
Radek.
Re: How to delete a Project [message #295476 is a reply to message #295396] Wed, 30 November 2005 18:19 Go to previous message
Eclipse UserFriend
Originally posted by: john.eclipsefaq.org

You can delete a project from the Navigator view, even if the project is
closed, has a missing or mangled .project file, etc. If there is a
project that cannot be deleted, the bug report should include the
..project file for the project in question.
--

Alex Blewitt wrote:
> There's not a lot Eclipse can do if it's missing out the '.project' file. You can't open a project, and therefore can't do anything else with it either.
>
> Any raised bug might want to add an enhancement request to be able to delete a closed project, though it would be questionable as to whether you'd also want to delete the resources underneath as well if you couldn't open it.
>
> Alex.
Previous Topic:Strange implementation of removeAll for SetModel
Next Topic:Which Tree Column was selected?
Goto Forum:
  


Current Time: Fri Apr 19 01:08:57 GMT 2024

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

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

Back to the top