1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" id="sixapart-standard">
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6 <meta name="generator" content="Movable Type 5.2.3" />
8 <link rel="stylesheet" href="http://defaria.com/blogs/Status/styles-site.css" type="text/css" />
9 <link rel="alternate" type="application/atom+xml" title="Atom" href="http://defaria.com/blogs/Status/atom.xml" />
10 <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://defaria.com/blogs/Status/index.xml" />
12 <title>Status for Andrew DeFaria: Dang Eclipse</title>
14 <link rel="start" href="http://defaria.com/blogs/Status/" title="Home" />
15 <link rel="prev" href="http://defaria.com/blogs/Status/archives/000732.html" title="QC work/mktriggers progress/sync from Tandem issues
17 <link rel="next" href="http://defaria.com/blogs/Status/archives/000735.html" title="View clean up" />
20 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
21 xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
22 xmlns:dc="http://purl.org/dc/elements/1.1/">
24 rdf:about="http://defaria.com/blogs/Status/archives/000733.html"
25 trackback:ping="http://defaria.com/mt/mt-tb.cgi/105"
26 dc:title="Dang Eclipse"
27 dc:identifier="http://defaria.com/blogs/Status/archives/000733.html"
28 dc:subject="General Electric"
29 dc:description="Dang IDEs! They're often more trouble than they are worth!! Be wary! I'm in Eclipse and I was trying to clean up my view a little bit. I selected a few view private files I wanted to delete with Control-Click...."
31 dc:date="2010-03-31T16:28:01-06:00" />
38 <script type="text/javascript" src="http://defaria.com/blogs/Status/mt-site.js"></script>
40 <body class="layout-one-column" onload="individualArchivesOnLoad(commenter_name)">
42 <div id="container-inner" class="pkg">
45 <div id="banner-inner" class="pkg">
46 <h1 id="banner-header"><a href="http://defaria.com/blogs/Status/" accesskey="1">Status for Andrew DeFaria</a></h1>
47 <h2 id="banner-description">Searchable status reports and work log</h2>
52 <div id="pagebody-inner" class="pkg">
54 <div id="alpha-inner" class="pkg">
56 <p class="content-nav">
57 <a href="http://defaria.com/blogs/Status/archives/000732.html">« QC work/mktriggers progress/sync from Tandem issues
\r
59 <a href="http://defaria.com/blogs/Status/">Main</a>
60 | <a href="http://defaria.com/blogs/Status/archives/000735.html">View clean up »</a>
64 <div class="entry" id="entry-733">
65 <h3 class="entry-header">Dang Eclipse</h3>
66 <div class="entry-content">
67 <div class="entry-body">
68 <p>Dang IDEs! They're often more trouble than they are worth!! Be wary!</p>
70 <p>I'm in Eclipse and I was trying to clean up my view a little bit. I selected a few view private files I wanted to delete with Control-Click. Then I hit the delete key to delete them. Eclipse prompted me "Are you sure you want to delete these files?" and I responded yes. But then I noticed that one of the files that was selected was mktriggers.pl!!! I did not select mktriggers.pl explicitly - it was selected because that was the last file I was editing was mktriggers.pl. And, remember, I only expected this delete to be deleting the view private files I selected, not Clearcase elements. I did not expect any rmnames to be happening.</p>
72 <p>No worries you say? This is in Clearcase you say? Yes it was. But it was also checked out and with my most recent modifications. "Ah", I hear you saying, "Clearcase shouldn't be doing any explicit destructive activities without asking you first" - well it just did! It rmnamed mktriggers.pl without confirmation. Sure it asked whether or not I wanted to remove files, and I did, the ones I explicitly selected - not the one it had selected simply because I was editing a file. "Well shouldn't there be an option on rmname that you have to specify in order for rmname to proceed?" Yes there is - it's -force and good old Eclipse must have called rmname with -force!</p>
74 <p>"But surely there's a .keep file around or something that you can recover from". Well ah, no. Not in this case. My work has been lost!</p>
76 <p>You have been warned!</p>
78 <div id="more" class="entry-more">
82 <p class="entry-footer">
83 <span class="post-footers">Posted by on March 31, 2010 4:28 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000733.html">Permalink</a>
88 <div class="trackbacks">
89 <h3 id="trackback" class="trackbacks-header">TrackBack</h3>
90 <div id="trackbacks-info">
91 <p>TrackBack URL for this entry:<br />http://defaria.com/mt/mt-tb.cgi/105</p>
93 <div class="trackbacks-content">