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 74819 - Cannot uninstall autoload/eager modules
Summary: Cannot uninstall autoload/eager modules
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Autoupdate (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: rmatous
URL:
Keywords:
Depends on:
Blocks: 72435 74323
  Show dependency tree
 
Reported: 2006-04-11 11:24 UTC by Jiri Rechtacek
Modified: 2007-05-21 11:35 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 Jiri Rechtacek 2006-04-11 11:24:37 UTC
Module Manager can uninstall no autoloaded nor earger module. Serious inability
to uninstall a library module.

Quote from issue 72102:
------- Additional comments from jglick Wed Feb 1 15:48:20 +0000 2006 -------

"Should be fixed in module system or should be restricted Uninstall of this kind
of modules?" - both (in the opposite order). It is not currently possible to
delete an eager module while NB is running; would require changes in core of
module system to support it. So Module Manager should not offer the possibility
until that is done.
Comment 1 Jiri Rechtacek 2006-04-11 18:16:24 UTC
Need to make a contract how to should work on autoloaded/eagers:
- allow to uninstall already loaded module?
- allow only disabled modules?
- offer to uninstall a real module with all its depended modules at once?
Currently, all module files are removed from distribution but module left valid
for the module system. bootstrap/ModuleManager handles it as a valid module,
doesn't refresh list of modules. How to propagate this change to it? It's
possible to use a brute force (something like a new method in ModuleManager) but
it's clumsy. Any ideas? Thanks
Comment 2 Jesse Glick 2006-04-12 16:51:03 UTC
See my previously quoted comment.
Comment 3 Jiri Rechtacek 2006-08-18 09:45:46 UTC
I would like to fix this in NB6.0/M3.
Comment 4 rmatous 2007-04-20 14:17:24 UTC
/cvs/autoupdate/ui/src/org/netbeans/modules/autoupdate/ui/InstalledPluginColumn.java,v
 new revision: 1.4; previous revision: 1.3

/cvs/autoupdate/ui/src/org/netbeans/modules/autoupdate/ui/InstalledTableModel.java,v
 new revision: 1.7; previous revision: 1.6

/cvs/autoupdate/ui/src/org/netbeans/modules/autoupdate/ui/Unit.java,v  <--  new
revision: 1.5; previous revision: 1.4

/cvs/autoupdate/ui/src/org/netbeans/modules/autoupdate/ui/Utilities.java,v  <--
 new revision: 1.6; previous revision: 1.5

/cvs/autoupdate/services/src/org/netbeans/modules/autoupdate/services/ModuleDeleterImpl.java,v
 new revision: 1.3; previous revision: 1.2

/cvs/autoupdate/services/src/org/netbeans/modules/autoupdate/services/OperationValidator.java,v
 new revision: 1.3; previous revision: 1.2
Comment 5 Jiri Rechtacek 2007-05-21 11:35:17 UTC
module manager subcomponent is gone => resolved issues are assigned to
autoupdate/code