IntelliJ Delete My Entire Drive !!!!
I'm speechless now.
Got 3 partition, C, D, E.
C:\ - Windows, Program Files, etc
D:\ - CVS Server, Development Files, etc
E:\ - SQL Server, IntelliJ, etc
To cut short, I'm developing a strutsojbejb based web application. So, in IntelliJ, I created 4 modules:
1. Application
2. EJB
3. Struts
4. Webapps
At first, I created a war file for my webapps and ear file for the entire ejb, struts and webapps war.
Then I tried to enable the Web Module exploded directory for my Webapps and I point to my D:\
When I rebuild my project, the exploded files were copied to my D:\ but later ALL MY FILES were deleted! Only files, all my folder remains !
This is really pain in the ass!!!
Please sign in to leave a comment.
"Rayz" <no_mail@jetbrains.com> wrote in message
news:31351461.1110355613700.JavaMail.itn@is.intellij.net...
mean deleting files that are not related to the project?
It's just not right!+
>
>
directory to the root?"
Why on the holy green earth the personnel of Chernobyl power
station drained the cooling water out of the hot nuclear
reactor?
Why on the holy green earth the personnel of Chernobyl power station drained the cooling water out of the hot nuclear reactor?
What's that got to do with anything?
"Rayz" <no_mail@jetbrains.com> wrote in message
news:16224350.1110390256714.JavaMail.itn@is.intellij.net...
power station drained the cooling water out of the hot
nuclear reactor?+
>
The price of human error. Human errors must be prevented
when possible.
If you are talking about nuclear reactors, yes, I agree, but this kind of human error is not something that warrents anything more than a warning message when definining the directory to IDEA.
Eddie Yan wrote:
I think that's the key fact. It's along the lines of the Principle of
Least Surprise.
--
Rob Harwood
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"
I'm sorry, but I've been thinking it and I have to say it - I smile
everytime I see this subject. And I mean no offense - I've done way worse:)
I'm sorry, but I've been thinking it and I have to say it - I smile
everytime I see this subject. And I mean no offense - I've done way worse:)
Adam, Not to blame you here. I'm sure lot of us are guilty of it. I'll admit I couldn't control my chuckle either. Ahh.. The Sadistic Human Mind. Deriving Pleasure from Others Sorrows.
I was thinking why? Why is this post funny? You should give it to Eddie Yan.
The title said it all - "IntelliJ Delete My Entire Drive !!!!".
And you clicked it.. The first line...
"I am Speechless now."
There you have it. The entire story is told.
I've been into scriptwriting in the past and have read a lot about scripts. You know the rule is, if the first page is not captivating enough to hook the reader to turn the next page then the script is a bomb.
Here Eddie Yan had captured his pain with his message albeit in a funny way.
Eddie Yan, Hope you forgive me.
Losing your entire drive is pretty serious, Ralph. I think this is a grave error that warrants more of IntelliJ attention.
Jetbrains, Please fix this, if possible.
+The price of human error. Human errors must be prevented
when possible.
+
There is a difference between a desktop IDE and a nuclear power station. If you have poor staff they will always find a way to circumvent common sense. The fella who wipeds his hard drive has already said that the problem was caused because he was lazy. If JetBrains are going to try and stop people being lazy, then the IDE will grind to a halt.
Rayz,
My action of being lazy and what the software does are two different thing. Being lazy doesn't give the right to the software to delete ALL my files without any warning.
I think most developer are lazy, that's why they depends on IDEA to do all the compilation, build, etc in just 1 click.
My action of being lazy and what the software does are two different thing. Being lazy doesn't give the right to the software to delete ALL my files without any warning.
Then perhaps we should just get rid of the clean function altogether, just to make sure?
And while we're at it, let's remove it from ANT ... oh, and let's not forget UNIX; just to be on the safe side.
I think most developer are lazy, that's why they depends on IDEA to do all the compilation, build, etc in just 1 click.
You weren't so much lazy, as careless, if you don't mind me saying. And there is really no cure for carelessnes.
As I said, they can put up a warning, but I really don't see what else needs doing.
no worry... i forgive u :)
This is the first (and last!) time i got hit so bad!
I mean, let's not talk about exploding directory, ANT, compilation, build, user's error, etc.
Anyone have come across similiar incident that a commercial software can cause so much damage to the end-user? Let's take Microsoft and viruses aside... those are equally bad.
Voted the Best Java IDE Environment in 2004,
http://www.sys-con.com/java/readerschoice2004/liveupdate.cfm?BType=9
IDEA is still the product to beat even the nearest competitor.
Anyone have come across similiar incident that a commercial software can cause so much damage to the end-user?
Yes.
Just about every flavour of UNIX I have ever come across.
Well, calm down everybody. This doesn't work this way in Irida for quite
long now. The curent algorithm is as follows:
1. Make (Ctrl+F9) only cleans those files that have been created by IDEA.
2. Rebuild does full cleanup of the exploded directory as well as output
folder if only both of the following conditions are met:
2.1 User specifically checked Settings|Compiler|clear output directory on
rebuild. Off by default
2.2 This particular exploded directory or output directory does not intersect
with any configured source roots.
-
Maxim Shafirov
http://www.jetbrains.com
"Develop with pleasure!"
Eddie Yan wrote:
I think that vote is still open for a couple months. Correct me if I'm
wrong.
--
Rob Harwood
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"
+2.2 This particular exploded directory or output directory does not intersect
with any configured source roots.+
Does that mean if the output directory is set to d:\
and my source root is d:\src\code
then it's safe?
Nice one; now all you have to worry about is folk putting the output directory on e:\ when their source directory is somewhere on d:\
;)
Plus checking a well hidden checkbox in :)
>> 2.1 User specifically checked Settings|Compiler|clear output directory on rebuild. Off by default.
For "Mission Critical" operations, there must be an accompanying "Warn" checkbox. So you know the user gets one more level of protection. Or Better, Always throw the Warning anyways to prevent mishaps.
If we can live with a Dialogue box telling me "Latest Information from the Plugin Repository is required".. I guess similar WARN dialogue would not be too bad before IDEA does a "CLEAN ALL".