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 102790 - Plugin Manager UI should offer 'local' vs. 'global' installation.
Summary: Plugin Manager UI should offer 'local' vs. 'global' installation.
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Plugin Manager (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker with 1 vote (vote)
Assignee: Jiri Rechtacek
URL:
Keywords: REGRESSION, UI
: 33751 64951 102466 (view as bug list)
Depends on:
Blocks: 102289
  Show dependency tree
 
Reported: 2007-04-27 15:26 UTC by kjmcdonald
Modified: 2007-09-18 18:22 UTC (History)
4 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 kjmcdonald 2007-04-27 15:26:29 UTC
I reported several issues with the plugin manager UI yesterday in 102289, but
forgot this one.

With the old UPdate center UI, I always (after testing locally) installed all
modules globally. 

I am a developer, but I am also the 'Tools Admin' for my group, and I maintain
the  shared network installations of our compiler, JDK's and tools like NetBeans
and Java Studio. 

My use model is as follows:

1) quit Netbeans, 
2) rename my userdir.
3) restart with a fresh userdir
4) download and install module
5) play with it, to test it.
6) quit netbeans
7) put userdir back.

If I liked the module, I then download it again and install it globally for all
my developers to use, and I send an email out announcing it and how to use it.

With the new UI I can't figure out:

1) where are the modules being installed?
2) how do I control where they are installed?

I like the new 'uninstall' feature. I wish it would eliminate the need to test
modules in a new userdir, but since I don't think, when I uninstall an updated
version of a module, that it will reinstall the older version (will it?) I think
I'll still have to keep testing in a clean userdir.

One other thing that would be nice would be to be able to 'promote' or 'push' a
module from the userdir to the netbeans installdir.

If the choice of where to install modules was removed to not confuse users who
either don't have permissions to the installdir, then maybe the option could be
hidden if the user doesn't have the permissions?
Comment 1 kjmcdonald 2007-04-27 15:27:37 UTC
Once again I forgot to say I found this in the 6.0 Dev 20060426 build.

Comment 2 Jiri Rechtacek 2007-04-27 15:36:27 UTC
I see but it's a use-case what is none of use-cases supported by Plugin Manager.
Use-case like this will be covered by a admin console allows to install chosen
plugins to install directory, this console not delivered yet. But definitely,
this use-case should supported in some way in NB6.
Comment 3 kjmcdonald 2007-04-27 15:40:27 UTC
An Admin console works for me.

Until then, if it's easier for you, 1 check box to install *all* modules for
this instlal session in the install dir would work for me.

I don't need the old UI where I could pick and choose the directory for each
module. I'd just run the install twice.
Comment 4 Antonin Nebuzelsky 2007-05-08 22:03:10 UTC
> Until then, if it's easier for you, 1 check box to install *all* modules
> for this install session in the install dir would work for me.

A checkbox for "global installation" will be added either to the Settings tab or
to the installation wizard. Settings tab is a good place to hide this option
from the regular users, on the other hand even the advanced users who need this
might not look for it at Settings tab. Both these pros and cons have to be
considered.
Comment 5 Petr Adamek 2007-05-09 22:58:18 UTC
I have also use case that requires ability to install plugins globally.
I maintain NetBeans installations at our university and I want to
provide completely ready to work environment to our students. Therefore
I need to install all plugins (like maven support) into global
installation directory.
Comment 6 Thomas Preisler 2007-05-10 00:38:54 UTC
ditto. We have two types of installation: user and server. A server installation
needs global updates.
Comment 7 Jiri Rechtacek 2007-05-10 09:33:04 UTC
Needs UI spec. how to present in UI
Comment 8 Jiri Rechtacek 2007-05-18 07:46:51 UTC
*** Issue 102466 has been marked as a duplicate of this issue. ***
Comment 9 Jiri Rechtacek 2007-05-21 13:19:25 UTC
It's appropriate to plugin manager subcomponent.
Comment 10 Jiri Rechtacek 2007-06-12 16:02:14 UTC
Fixed in M10.
User: rmatous 
Date: 2007/06/12 02:49:01

Modified:
   autoupdate/ui/src/org/netbeans/modules/autoupdate/ui/Utilities.java
   autoupdate/ui/src/org/netbeans/modules/autoupdate/ui/SettingsTab.java
   autoupdate/ui/src/org/netbeans/modules/autoupdate/ui/SettingsTab.form
   autoupdate/services/src/org/netbeans/modules/autoupdate/services/InstallSupportImpl.java
   autoupdate/services/src/org/netbeans/modules/autoupdate/services/InstallManager.java
   autoupdate/services/src/org/netbeans/api/autoupdate/InstallSupport.java
   autoupdate/ui/src/org/netbeans/modules/autoupdate/ui/wizards/InstallStep.java
Comment 11 Karthikeyan Rajeswaran 2007-09-18 17:28:31 UTC
*** Issue 33751 has been marked as a duplicate of this issue. ***
Comment 12 Karthikeyan Rajeswaran 2007-09-18 18:22:16 UTC
*** Issue 64951 has been marked as a duplicate of this issue. ***