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 52621 - Let user customize defaults [was: Prune directories should not be default.)
Summary: Let user customize defaults [was: Prune directories should not be default.)
Status: RESOLVED DUPLICATE of bug 41425
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcsgeneric (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2004-12-17 16:46 UTC by djw666
Modified: 2005-01-12 14:12 UTC (History)
1 user (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 djw666 2004-12-17 16:46:08 UTC
Prune directories should not be default for update
and checkout.  Undesirable pruning occurs, such as
pruning the "test" directory of a project when the
test directory is empty (test packages haven't
been written yet).
Comment 1 Martin Entlicher 2004-12-17 16:53:07 UTC
In other cases, the prunning must be used (e.g. you will not be able
to compile NetBeans sources of checked out without prune).

I'm afraid we'll not be able to fix this while satisfy all users.
Perhaps we should present this option also in the non-advanced mode.

This is similar to update and it's -d and -P options.
Comment 2 _ pkuzel 2005-01-07 17:44:05 UTC
Is not it possible to set an user default? I mean by running 
advanced mode then disable pruning and pushing [Set as Default]. 
 
User could also edit profile but it's not viable alternative. 
Comment 3 _ pkuzel 2005-01-10 11:15:08 UTC
Counter issue #52889.

My proposed fix is to streamline implementation of defaults. Replace

[next] [prev] [set default] [use default]

   < actual dialog content >

                            [cancel] [ok]

with

   < actual dialog content >

 [set as default]        [cancel] [ok]


where [set as default] *persists* actual value. The default value is
automatically loaded next time command is invoked.


My proposed fix includes UI change, eliminating useless controls. This
elimination 'highlights' remaining controls.


Jano, do you see any blocker from your side?
Comment 4 _ pkuzel 2005-01-10 16:58:56 UTC
UI updated, now waiting one week for VcsCommandsProvider SPI
enhancement review. The proposed SPI change allows to create unique
command IDs.
Comment 5 _ pkuzel 2005-01-12 14:12:47 UTC
41425 is more generic issue covering this one,

*** This issue has been marked as a duplicate of 41425 ***