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 136318 - Cannot deactivate Scala debugger by itself
Summary: Cannot deactivate Scala debugger by itself
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Plugin Manager (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
: 135779 (view as bug list)
Depends on: 134493 137427
Blocks: 137936
  Show dependency tree
 
Reported: 2008-06-02 21:16 UTC by Jesse Glick
Modified: 2011-01-12 16:08 UTC (History)
3 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 Jesse Glick 2008-06-02 21:16:33 UTC
080529. If you install Scala Debugger Projects Integration, you cannot disable it (either deactivate or uninstall) in
Plugin Manager - if you try, PM says you also have to disable Java Debugger! You need to use Module Manager to disable
just SDPI.
Comment 1 Jiri Rechtacek 2008-06-03 08:51:13 UTC
*** Issue 135779 has been marked as a duplicate of this issue. ***
Comment 2 Jiri Rechtacek 2008-06-03 08:53:57 UTC
I guess the problem is handling provides/requires dependency and causes issue 134493 too.
Comment 3 Jesse Glick 2008-06-04 05:59:18 UTC
Seems that way. If a provider of a token is already installed, it is not necessary to install others.
Comment 4 Jiri Rechtacek 2008-06-16 15:55:43 UTC
Filed issue 137325 to remove jpda.EditorContext and jpda.SourcePathProvider providers in scala debugger.
Comment 5 Jiri Rechtacek 2008-06-17 17:20:51 UTC
When issue 137325 got fixed no plugin (i.e. multiple providers of any token) will cause problem like this. It won't
happen in NetBeans 6.1 + with officially Update Centers nor NetBeans 6.5 Dev + officially Update Centers. I think this
issue has became a potential issue but not actual just now I could decrease the problem priority.
Comment 6 Antonin Nebuzelsky 2008-11-14 15:33:13 UTC
Reassigning to the new "autoupdate/*" owner dlipin.
Comment 7 Sergey Petrov 2009-03-26 13:33:17 UTC
137325 is fixed, also two more issues this one depends on are fixed.
How I can install Scala Debugger Projects Integration? I see only scala kit and scala runtime in plugin manager.
Comment 8 Jesse Glick 2009-03-26 14:09:53 UTC
It's possible the set of modules, or kit dependencies, have changed since this was filed.
Comment 9 dlipin 2009-05-05 12:35:20 UTC
Jirka`s justification to close this issue as resolved later.

Example:
A module org.netbeans.mysql can create new database, it's provides a token: database-creator. Opposite module 
org.netbeans.dbui needs some database creator (not hard org.netbeans.mysql but any database creator) for its 
functionality, to express this fact it states: org.netbeans.dbui needs database-creator. In NetBeans runtime these 
module will loaded together.

Back to the issue 136318: If there is org.netbeans.oracle module which provides database-creator token and if both of 
then are loaded in NetBeans for some reasons, neither NetBeans Module System nor Autoupdate can differentiate it and if 
users disables org.netbeans.mysql then org.netbeans.dbui will disable as well and because org.netbeans.oracle has then 
no opposite module, it will be disabled too.
It's a known limitation of Autoupdate Services but I guess it's worthless to fix it because it's only artificial 
problem.
Comment 10 Jesse Glick 2009-05-05 17:09:04 UTC
Clarification: "if both [mysql & oracle modules] are loaded in NetBeans for some reasons, neither NetBeans Module System
nor Autoupdate can differentiate it and if users disables org.netbeans.mysql then org.netbeans.dbui will disable as
well" - the module system will not disable dbui just because mysql was disabled so long as oracle is still enabled. This
is a bug only in AU.
Comment 11 dlipin 2009-05-06 12:07:43 UTC
OK, I`ll reopen it for the future investigation and downgrade to P4 since it does not happen in the current codebase 
(?).
Comment 12 Jaroslav Tulach 2011-01-08 19:25:01 UTC
What steps shall I use to reproduce the problem?
Comment 13 Jesse Glick 2011-01-12 16:08:45 UTC
(In reply to comment #12)
> What steps shall I use to reproduce the problem?

Organization of Scala-related plugins changed since then (as in comment #8). Root bug in PM probably remains open.