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.

Bug 52366 - [customizer] Sources - add folder should open in project's folder
Summary: [customizer] Sources - add folder should open in project's folder
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Tomas Zezula
URL: http://projects.netbeans.org/buildsys...
Keywords:
: 52472 52952 53557 (view as bug list)
Depends on:
Blocks: 52367
  Show dependency tree
 
Reported: 2004-12-14 09:20 UTC by zikmund
Modified: 2006-03-24 13:04 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zikmund 2004-12-14 09:20:43 UTC
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.
Comment 1 zikmund 2004-12-14 09:22:01 UTC
BTW: Same for Test/Sources packages.
Comment 2 Jesse Glick 2004-12-15 20:09:33 UTC
*** Issue 52472 has been marked as a duplicate of this issue. ***
Comment 3 Milan Kubec 2005-01-19 10:13:32 UTC
*** Issue 53557 has been marked as a duplicate of this issue. ***
Comment 4 David Konecny 2005-01-24 16:34:20 UTC
*** Issue 52952 has been marked as a duplicate of this issue. ***
Comment 5 Tomas Zezula 2005-02-02 17:03:10 UTC
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
Comment 6 zikmund 2005-02-15 09:04:39 UTC
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?
Comment 7 jrojcek 2005-02-15 10:07:30 UTC
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.
Comment 8 zikmund 2005-02-21 10:02:57 UTC
Reopening.
Comment 9 zikmund 2005-02-21 10:11:42 UTC
BTW: remembered directory should be shared for Source and Test folder,
right?
Comment 10 Tomas Zezula 2005-02-21 10:42:05 UTC
Probably yes.
Comment 11 jrojcek 2005-02-21 11:54:36 UTC
Yes, it should be shared.
Comment 12 Tomas Zezula 2005-02-21 13:27:34 UTC
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
Comment 13 zikmund 2005-02-24 13:50:49 UTC
Verified in 200502231900.