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 84401 - Support for programmatic installation of clusters and modules
Summary: Support for programmatic installation of clusters and modules
Status: NEW
Alias: None
Product: installer
Classification: Unclassified
Component: NBI (show other bugs)
Version: 6.x
Hardware: Sun All
: P2 blocker (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
: 88049 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-09-07 03:34 UTC by ivan
Modified: 2014-02-10 14:15 UTC (History)
3 users (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ivan 2006-09-07 03:34:24 UTC
While this RFE has come about as part of the upcoming SunStudio release,
I believe it has relevance to various 3rd party applications built on
top of netbeans.
The sunstudio12 t-team has decided to require such support of NB.

We find we need to install a module that is not part of the core NB
distribution: the terminalemulator.
It needs to be installed as part a product-wide install script and not
as a user-managed NBM though the update center.

A simplistic solution would be to just copy the relevant files into an
NB distribution but there are various other considerations:
- it would be useful to take advantage of standard NB-locating idioms.
- the code needs to check whether the module is already installed.
  if so, it needs to check versions and, if there is a mismatch, adopt
  some form of resolution.
- A raw unzipping of an NBM won't do since apparently certain files,
  like Info/info.xml and META-INF/MANIFEST.MF need to be discarded.
- The/A update_tracking/*.xml needs to be adjusted.
- There needs to be some provision for undoing the installation.

There exists a tad bit of advice in this regard here:
http://blogs.sun.com/Chreston/entry/building_product_on_top_of
but it pertains to whole cluster installation which is slightly different
from individual module installation.

    While the impetus for this RFE was an individual module, it makes
    sense to consider cluster installation as well. For example, CND
    apparently depends on a custom installer of it's own which could
    be used as a bais for a more general utility institutionalising
    the advice in the above blog.

A suggestion was made that an ant task could be written to do this.
Our installer engineers however are uncomfortable with having the installer
depend on ant; the installer should have minimal dependencies.
If the job can be absorbed as an ant task it follows that the code can
be written in plain Java (if I'm not mistaken) which could be incororated
into 3rd party custom installers.
Comment 1 Nikolay Molchanov 2006-09-07 04:57:08 UTC
There is additional requirement: module installer should create uninstaller to 
uninstall this module, so that when we uninstall Sun Studio, all added modules
can be removed as well.
Comment 2 Kirill Sorokin 2006-10-14 21:38:09 UTC
Moving to NBI
Comment 3 Kirill Sorokin 2006-10-20 07:27:27 UTC
Issues not assigned to any milestone should not have a responsible engineer.
Comment 4 Kirill Sorokin 2006-11-12 15:00:45 UTC
*** Issue 88049 has been marked as a duplicate of this issue. ***
Comment 5 Kirill Sorokin 2007-01-27 07:00:40 UTC
*** Issue 88049 has been marked as a duplicate of this issue. ***
Comment 6 Kirill Sorokin 2007-02-12 11:35:00 UTC
-> M12
Comment 7 Thomas Preisler 2007-02-28 22:44:43 UTC
Removed MARS keyword. Backport to 5.5.1 no longer a requirement.
Comment 8 Kirill Sorokin 2007-03-14 17:32:07 UTC
-> M15
Comment 9 Kirill Sorokin 2007-04-09 11:01:17 UTC
-> TBD, as this is no longer a requirement. This will be handled post preview
release.
Comment 10 Jiri Rechtacek 2012-10-07 12:58:55 UTC
Assigned to new owner.