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.
After the source folder has been mistakenly externally renamed, the project does not want to accept it despite it has been renamed back to the original name. Removing the source folder int the option window and adding it back did not help. In the project window inky the file icon is shown instead of the folder item (see the attached file) Product Version = NetBeans IDE 7.2 (Build 201207171143) Operating System = Windows 7 version 6.1 running on amd64 Java; VM; Vendor = 1.7.0_07 Runtime = Java HotSpot(TM) 64-Bit Server VM 23.3-b01
Created attachment 124993 [details] IDE log
Created attachment 124994 [details] Screenshol of the project pane
I asked the NetBeans to delete the damaged project and checked, that its folder was really removed. Then I copied the projects folder to the same place from another computer, where the same project correctly works. When I opened this copy, both folders, that means Source Packages and Test Packages as well, were not accepted and only the file icons were shown at their places in the project pane.
When I again deleted this project and tried to create a new project with the same name, this new project has not the source folders. Again only the file icon was shown. Closing and reopening NetBeans 7.2 did not help. However closing the NetBeans 7.2, opening the projet in NetBeans 7.1, then closing the NetBeans 7.1 and reopening the NetBeans 7.2 solved the problem.
what is the path on your local disk to the project in question? That would help a lot to make sense of the log file. Thanks.
(In reply to comment #3) > I asked the NetBeans to delete the damaged project and checked, that its folder > was really removed. using the Delete project action? did you delete the project source files as well? > > Then I copied the projects folder to the same place from another computer, > where the same project correctly works. have you done that while the IDE was running? How have you copied the projects? please note that some files (eg nbproject/private/*) can contain absolute paths to files and folders and as such would not work when copied from another computer.
(In reply to comment #5) > what is the path on your local disk to the project in question? That would help > a lot to make sense of the log file. Thanks. Excuse me for long delay. The path was many times mentioned in the attachment: D:\Tvorba_PGM_SVN\@B_Knihy\@B_44G_POJJ_7\PRJ_44_AUX\N211z_SmoothVehicle
(In reply to comment #6) > (In reply to comment #3) > > I asked the NetBeans to delete the damaged project and checked, that its folder > > was really removed. > > using the Delete project action? did you delete the project source files as > well? Yes, and as I said, i checked, that the foder was really removed. > > Then I copied the projects folder to the same place from another computer, > > where the same project correctly works. > > > have you done that while the IDE was running? I don't remenber. Maybe. > How have you copied the projects? please note that some files (eg > nbproject/private/*) can contain absolute paths to files and folders and as > such would not work when copied from another computer. The all files are at the both computers at the same locations, at the same absolute address. I have my working instance of NetBeans on the first computer and ane clear, not modified instance of the Netbeans on the second one. The secon NB instance I use for screeschots for the writen book.
could be related to/duplicate of issue 236276, just different effect.
tried to reproduce in NetBeans IDE Dev (Build 20150604-3ebddb01bb22). Worked just fine. Guess this problem is gone. - after externally renaming the folder it disappeared from the projects view - after renaming it back it reappeared and everything seemed to work fine feel free to reopen in case you are able to reproduce with an current dev build