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.
Build 200412131900 1) Have java project 2) open customizer | Sources 3) press "Add Folder ..." 4) ERROR: File chooser should open in project's folder. Now it uses home directory.
BTW: Same for Test/Sources packages.
*** Issue 52472 has been marked as a duplicate of this issue. ***
*** Issue 53557 has been marked as a duplicate of this issue. ***
*** Issue 52952 has been marked as a duplicate of this issue. ***
Checking in j2seproject/src/org/netbeans/modules/java/j2seproject/ui/FoldersListSettings.java; /cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/FoldersListSettings.java,v <-- FoldersListSettings.java new revision: 1.10; previous revision: 1.9 done Processing log script arguments... More commits to come... Checking in j2seproject/src/org/netbeans/modules/java/j2seproject/ui/customizer/J2SESourceRootsUi.java; /cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/customizer/J2SESourceRootsUi.java,v <-- J2SESourceRootsUi.java new revision: 1.5; previous revision: 1.4 done Processing log script arguments... More commits to come... Checking in j2seproject/src/org/netbeans/modules/java/j2seproject/ui/wizards/FolderList.java; /cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/wizards/FolderList.java,v <-- FolderList.java new revision: 1.7; previous revision: 1.6 done
Verified. Current solution is a little bit different from UI spec beacause of implementation reasons (as Tomas Zezula said) - "Add Folder..." opens everytime in project's folder, but UI spec says: 'The default browsed folder is the project folder or the last browsed folder.' I'm quite satisfied with this solution. Jano what's your opinion? Could you please update UI spec?
I think "Add Folder" should open in the last browse location. It doesn't have to remember this when the user closes the project properties and reopens it again, but until the dialog is up, it should open in the last folder. Does it make sense? Tomas, would it be possible to implement it this way? Thanks.
Reopening.
BTW: remembered directory should be shared for Source and Test folder, right?
Probably yes.
Yes, it should be shared.
Checking in src/org/netbeans/modules/java/j2seproject/ui/customizer/J2SESourceRootsUi.java; /cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/customizer/J2SESourceRootsUi.java,v <-- J2SESourceRootsUi.java new revision: 1.9; previous revision: 1.8 done
Verified in 200502231900.