Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Inadvertent File Deletion
Inadvertent File Deletion [message #99632] Mon, 29 September 2003 10:50 Go to next message
Eclipse UserFriend
There was a package folder with an initial uppercase. Renamed the folder
outside of Eclipse to lowercase then launched Eclipse. After launching
Eclipse with a refresh the renamed folder showed up, but so did the old
folder. Had Foo and foo which was not correct. Why would it show packages
that are not there anymore even after a refresh? Think this is an Eclipse on
Windose bug?

Anyway, deleted "Foo" package in Eclipse pacakge view and that inadvertently
took the contents of "foo" along with it. Not good.
Re: Inadvertent File Deletion [message #99881 is a reply to message #99632] Tue, 30 September 2003 06:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: daniel.megert.gmx.net

Rod Macpherson wrote:

>There was a package folder with an initial uppercase. Renamed the folder
>outside of Eclipse to lowercase then launched Eclipse. After launching
>Eclipse with a refresh the renamed folder showed up, but so did the old
>folder. Had Foo and foo which was not correct. Why would it show packages
>that are not there anymore even after a refresh? Think this is an Eclipse on
>Windose bug?
>
>
Please file a bug report with steps to reproduce, build id and the stack
trace if any.

>Anyway, deleted "Foo" package in Eclipse pacakge view and that inadvertently
>took the contents of "foo" along with it. Not good.
>
>
I would assume that a dialog asked you about deleting, right? You
probably clicked "Yes" and the result is what you should expect if you
work on windows.

Dani
Re: Inadvertent File Deletion [message #99968 is a reply to message #99881] Tue, 30 September 2003 08:56 Go to previous messageGo to next message
Eclipse UserFriend
Filed a bug report detailing the behavior: 43904.

In terms of expectations, the user will want to delete the bogus folder. To
do so they will hit the delete key. What you do not expect is that the
contents of the bona fide folder to be annihilated. What is the relevance of
the confirmation dialog in this situation? I see none.
Re: Inadvertent File Deletion [message #100013 is a reply to message #99968] Tue, 30 September 2003 09:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: daniel.megert.gmx.net

Rod Macpherson wrote:

>Filed a bug report detailing the behavior: 43904.
>
>In terms of expectations, the user will want to delete the bogus folder. To
>do so they will hit the delete key. What you do not expect is that the
>contents of the bona fide folder to be annihilated. What is the relevance of
>the confirmation dialog in this situation? I see none.
>
>
Eclipse resources (files, folders) are handles to files on disk which
means if you delete a handle (UI element) in the UI it will be removed
on disk. Since you work on windows it did not matter whether the real
folder is a or A. And there was an a on disk and that's why you were
asked. The bad behaviour was to show both of them in the UI.

Dani
Re: Inadvertent File Deletion [message #100054 is a reply to message #100013] Tue, 30 September 2003 11:32 Go to previous message
Eclipse UserFriend
Right, displaying both is the issue, just wanted to point out that asking or
not asking had nothing to do with it. I expected to delete it when I hit the
delete key whether it asked at all or asked a dozen times I was going to say
"yes" because my intent was to nuke what looked like a bogus entry. Anyhoo,
the whole issue will go away once the bug is fixed.

Thanks
Previous Topic:Getting the real object out of IStructuredSelection resp. IJavaVariable
Next Topic:ANT script after CVS update
Goto Forum:
  


Current Time: Fri Jul 18 18:30:01 EDT 2025

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

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

Back to the top