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 17460 - Allow to install new modules without IDE restart if possible
Summary: Allow to install new modules without IDE restart if possible
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Autoupdate (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: akemr
URL:
Keywords:
Depends on:
Blocks: 20254
  Show dependency tree
 
Reported: 2001-11-09 11:56 UTC by akemr
Modified: 2003-12-11 14:06 UTC (History)
1 user (show)

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 akemr 2001-11-09 11:56:11 UTC
Allow to install modules without IDE restart if it will be possible,
- if module is new and its nbm doesn't contain /lib and /bin dir's.
Comment 1 akemr 2001-11-13 14:07:54 UTC
Change Modules/*.xml - see:
<A HREF="http://openide.netbeans.org/issues/show_bug.cgi?
id=13921">feature #13921</A>
Comment 2 Jan Chalupa 2001-11-27 10:51:33 UTC
Target milestone -> 3.3.1.
Comment 3 akemr 2002-01-25 08:10:38 UTC
Summary from mails with Jesse:

We only need to copy content of nbm into netbeans dir
(as Updater does) and then create somemodule.xml in
system/Modules dir, e.g.:

<module name="org.netbeans.modules.somemodule">
    <param name="autoload">false</param>
    <param name="enabled">true</param>
    <param name="jar">somemodule.jar</param>
    <param name="origin">installation</param>
    <param name="release">1</param>
    <param name="reloadable">false</param>
    <param name="specversion">1.1</param>
</module>

'origin':
  installation, installation/autoload
  user, user/autoload depending of module.jar location

  Soon (#17501) installation/eager and user/eager will also be legal   
  values, for modules present in modules/eager/ scan folder, in which   
  case use <param name="eager">true</param>.

'reloadable': False. This is for test modules.

All of them are optional except 'origin' and 'jar'. But better to
include them if you know about them.

'enabled' *cannot* be present (neither true nor false) if either
'autoload' or (soon) 'eager' is true.

'release' should be there only if there is a release version after a
slash, else not.

'specversion' should be there only if
OpenIDE-Module-Specification-Version was given, else not.

See also:
org.netbeans.core.modules.ModuleList.computeProperties(...)
Comment 4 akemr 2002-02-28 08:03:26 UTC
Implemented in trunk.
Comment 5 Jesse Glick 2002-02-28 11:41:10 UTC
Thanks.

From the point of view of #20254, it would be ideal if the updater did
not have to deal with user-dir NBMs at all, only home-dir NBMs. I.e.:
all global NBMs installed using updater.jar between restarts; all
non-global NBMs installed with IDE running.

Otherwise the core will have to leave some piece of information for
the updater, in a file somewhere I guess: "what was the last user dir
I used?" This is possible but not as nice.
Comment 6 Jaromir Uhrik 2002-04-22 15:49:48 UTC
Verified.
Comment 7 Quality Engineering 2003-06-30 13:49:46 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.