This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I had a folder structure D:/A/B/MyFolderWithFilesAndProjects. Then, using netbeans, I checked out (svn) sources and created a project in D:/A/B/ Because I realized I didnt want this, I wanted to move it to D:/A/B/DedicatedFolder but I didn't really have that option, I could go with D:/A/DedicatedFolder/B so I thought oh well let's see what it does. Anyway, after this was done, my own 'MyFolderWithFilesAndProjects' folder(s) were removed from disk! I'm really disappointed cuz I had a fix in there.. can redo it now.. Steps afaik 1) Have a folder A, containing B, containing C1 & C2 on disk. 2) With netbeans, checkout svn project in folder B. 3) With netbeans, move project to A\Q\B (netbeans keeps the B, I desired A\X) 4) The Folders C1 & C2 disappeared from disk, they're not in A\Q\B either. The reason that I put prio 2 is because it is crucial that netbeans doesnt remove my files..! P.s. I also tried to create a new project on a location that had already folders and files, move the project in netbeans but that goes OK. I'll leave further testing/reproducing up to you.
Expected: my folders C1 & C2 remain on disk Actual result: my folders C1 & C2 are removed from disk.
with the current dev build, following the description i tried, but wasn't able to reproduce what netbeans build do you use? > I had a folder structure D:/A/B/MyFolderWithFilesAndProjects. > Then, using netbeans, I checked out (svn) sources and created a project in D:/A/B/ was it "Java Project with existing sources"? > Steps afaik > 1) Have a folder A, containing B, containing C1 & C2 on disk. > 2) With netbeans, checkout svn project in folder B. > 3) With netbeans, move project to A\Q\B (netbeans keeps the B, I desired A\X) B was the folder in which you had the nbproject folder and thats also C1, C2 whee located, right?
> what netbeans build do you use? Product Version: NetBeans IDE 8.0.2 (Build 201411181905) Updates: NetBeans IDE is updated to version NetBeans 8.0.2 Patch 2 Java: 1.7.0_21; Java HotSpot(TM) 64-Bit Server VM 23.21-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11 System: Windows 7 version 6.1 running on amd64; Cp1252; en_GB (nb) >> I had a folder structure D:/A/B/MyFolderWithFilesAndProjects. >> Then, using netbeans, I checked out (svn) sources and created a project in D:/A/B/ >was it "Java Project with existing sources"? No, the files in svn are not a netbeans project, just a combination of resources and java sources in folder structures. After checking out Netbeans asks me to create a project. >> Steps afaik >> 1) Have a folder A, containing B, containing C1 & C2 on disk. >> 2) With netbeans, checkout svn project in folder B. >> 3) With netbeans, move project to A\Q\B (netbeans keeps the B, I desired A\X) >B was the folder in which you had the nbproject folder and thats also C1, C2 whee located, right? Correct. Something that might be relevant is the following. I. I had the sources from a project in B/Z for a long time. II. I renamed Z to C1 (so B/Z doesnt exist anymore). III. I checked out a new version of the same project first in B/Z (with netbeans afai remember, 99% sure). I made fixes here. Somehow, netbeans didnt recognize svn so I wasnt able to commit (?!). IV. Therefore, I renamed Z to C2. V. I checked out the same project with netbeans again, but now accidently in A/B. (where C1 and C2 reside as well). VI. then I tried to move etc. I hope this might help.
> I. I had the sources from a project in B/Z for a long time. This was still with CVS. I wanted to use SVN so thats the reason I changed Z to C1 and checked out a copy.