Re: [nbui] Re: [nbusers] Disaster!!:Renaming Project Action Failed and Deleted all My Source Code Along with no hope of recovery
"Ayodeji Aladejebi" <[email protected]> Wed, 28 May 2008 22:01:36 +0100
| Newsgroups | gmane.comp.java.ide.netbeans.user,gmane.comp.java.netbeans.user-interface |
|---|---|
| Message-ID | <[email protected]> |
OK, I run Windows XP Service Pack 2 Sony Viao 1GB RAM Intel Core Duo Processor 1.6Ghz JDK 1.6_05 Netbeans 6.1 NB Project Type: Java Application I have a project named boutick-main Now for some reason, I wanted to rename the entire project intoboutick-main-standard So I fired Netbeans and I mounted the project. It opened the project successfully. The project is a bit big, over 200 classes and 50 or more Swing Matisse Based Forms So I right-clicked and selected Rename.... The Rename Project Popup folder came up. the mistake I made was to have CHECKED the box telling Netbeans to "Also Rename The Project Folder" The first thing I noticed was that as the renaming process was progressing, the progress bar stopped at about 46% and remained there for more than 1 hour. I left it as long as it would take and did not bother cancelling it. When i eventually came back. It gave me the impression that it had finished. Only the see that neither the source project folder (boutick-main) nor the destination project folder (boutick-main-standard) contained my codes anymore, all the source files inside the src folder were all gone! But luckily I had my subversion system functioning so I had to check out my code from yesterdays commit. then I retried the process this time but now ignoring the CHECKBOX "Also Rename The Project Folder". It succeded.