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 206517 - Need a way to force restart on plugin reactivation
Summary: Need a way to force restart on plugin reactivation
Status: CLOSED DUPLICATE of bug 206516
Alias: None
Product: platform
Classification: Unclassified
Component: Module System (show other bugs)
Version: -S1S-
Hardware: PC Linux
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks: 206036
  Show dependency tree
 
Reported: 2011-12-19 05:23 UTC by venkatramakkineni
Modified: 2011-12-19 09:14 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description venkatramakkineni 2011-12-19 05:23:36 UTC
Hi

   I have come across this issue when I submitted a new plugin for review. This plugin is adds a new LAF. Since it switches the LAF from Synth to Metal, there is no easy way to do it properly without application restart. 

Steps to reproduce:

http://plugins.netbeans.org/plugin/40985/ez-on-da-ice

Install ez-on-da-ice plugin
Restart at the prompt.

Deactivate the plugin from Tools | plugins | installed.
Restart at the prompt.

Activate the plugin again from Tools | Plugins | Installed.
There is no prompt for restart. This the LAF is partially rendered. 

Plugin's uses Maven for building and declares requireRestart to true in the module descriptor. 

After looking through the documentation, I found that there is currently no easy way to enforce this. So, putting forth this request to add the ability to request restart on plugin activation.

Thanks
Sincerely
Venkat Akkineni
Comment 1 venkatramakkineni 2011-12-19 05:26:53 UTC

*** This bug has been marked as a duplicate of bug 206516 ***
Comment 2 Marian Mirilovic 2011-12-19 09:14:42 UTC
v/c