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 71577 - Polish "Project Location" path suggestion in Module Wizards
Summary: Polish "Project Location" path suggestion in Module Wizards
Status: CLOSED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Martin Krauskopf
URL:
Keywords:
: 72065 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-01-19 02:38 UTC by ngbrito
Modified: 2007-09-23 22:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot (44.09 KB, image/jpeg)
2006-01-19 02:40 UTC, ngbrito
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ngbrito 2006-01-19 02:38:48 UTC
If you already have a Module Suite Project created and request to create a new
Module Project the default option will be "Add to Module Suite" and the path
will show that it will be created under the suite directory, e.g. project
location will be "C:\MyProjects\NB5\suite1".
If you change the option to "Standalone Module" then the suite component should
be removed from the path, e.g. project location should change to
"C:\MyProjects\NB5".

Currently it mantains the suite path.
Comment 1 ngbrito 2006-01-19 02:40:26 UTC
Created attachment 28453 [details]
Screenshot
Comment 2 Jan Lahoda 2006-01-20 11:18:21 UTC
=>apisupport/project.
Comment 3 Martin Krauskopf 2006-01-20 11:38:35 UTC
Yes, that's right. Something similar is probably already filed. Not sure. The
path assumption should be polished in more way.

1) the one you (ngbrito) suggested above
2) until the user touches Project Location do #1 when switching between component
   and standalone
3) when a remembered directory was deleted offer closest upper existing directory

maybe more.
Comment 4 Martin Krauskopf 2006-01-31 15:51:18 UTC
*** Issue 72065 has been marked as a duplicate of this issue. ***
Comment 5 Martin Krauskopf 2006-02-14 15:42:58 UTC
working on this
Comment 6 Martin Krauskopf 2006-02-14 16:36:04 UTC
All should be fixed.

ui/wizard/BasicInfoVisualPanel.form; 1.19 -> 1.20;
ui/wizard/BasicInfoVisualPanel.java; 1.53 -> 1.54;
Comment 7 Martin Krauskopf 2006-02-14 16:45:38 UTC
project/ui/wizard/BasicInfoVisualPanel.form; 1.19 -> 1.19.8.1;
project/ui/wizard/BasicInfoVisualPanel.java; 1.52.2.1 -> 1.52.2.2;
Comment 8 Tomas Danek 2006-02-15 14:37:42 UTC
perfect,thanks! Panel became intelligent!! verified.
Comment 9 Martin Krauskopf 2006-02-17 10:38:03 UTC
Was not perfect Tomasi :). Aslo see issue #71728 before reopening.

Offer suite directory only for suite components.

ui/wizard/BasicInfoVisualPanel.java; 1.54 -> 1.55;
Comment 10 Martin Krauskopf 2006-02-17 10:39:05 UTC
Forgot associated commit. Also not backported yet.

ui/customizer/SuiteUtils.java; 1.23 -> 1.24;
test/unit/ui/customizer/SuiteUtilsTest.java; 1.8 -> 1.9;
Comment 11 Tomas Danek 2006-02-20 12:20:44 UTC
Yes you are right.
Tried following in current trunk and now works as supposed:
1) create suite
2) create module inside - creates module in suite dir
3) create new suite - suite is *not* created into the 1st suite dir
4  create module inside the 2nd suite - creates module in 2nd suite dir
5) create standalone module - after switching to standalone, location is updated
to a parent dir of suite.

V.
Comment 12 Martin Krauskopf 2006-02-20 14:47:14 UTC
The rest was backported.

ui/customizer/SuiteUtils.java; 1.23 -> 1.23.2.1;
ui/wizard/BasicInfoVisualPanel.java; 1.52.2.2 -> 1.52.2.3;
test/unit/ui/customizer/SuiteUtilsTest.java; 1.8 -> 1.8.2.1;