You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@netbeans.apache.org by Ernie Rael <er...@raelity.com> on 2019/11/15 03:03:57 UTC

Update Center plugin life cycle management

Hello,

I recently added a router plugin (update center only) to 
plugins.netbeans.org for NB-11.0. There was a verification comment

    ... if one deactivates the plugin and removes the jVi UC, it is not
    recreated back upon activation of the plugin...

I looked around and found an old bug I filed from 2011 "removed UC can 
not be added (re-added) by installing a module" see 
https://netbeans.org/bugzilla/show_bug.cgi?id=198359 .

Jaroslav Tulach commented that

    If you uninstall a module, the update center should disappear, e.g.
    no way to do step #3. If this does not work, then it is the source
    of other problems.

I'm wondering now if this is something that can (or should) be handled 
by the plugin possibly in ModuleInstall (or at least partly handled). 
Possibly there's something defensive that could be done in ModuleInstall 
to improve the situation in the absence of a platform fix. If there's an 
idea for how, and where, to fix this, I can take a look.

-ernie


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists