[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-2246) P2 vs Installer ?

Nick Boldt (JIRA) jira-events at lists.jboss.org
Tue Oct 28 22:24:21 EDT 2008


    [ https://jira.jboss.org/jira/browse/JBIDE-2246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12435921#action_12435921 ] 

Nick Boldt commented on JBIDE-2246:
-----------------------------------

> Is P2 stable/good enough for basing our updatesites on ?

Yes. In fact, adding p2 metadata to your update site(s) will make them faster than the old-school Eclipse 3.3 update sites. Internally, p2 has to read the site.xml and generate the metadata, so if you produce that up front, the end user will benefit.

> Can we use it to have a more finegrained control in the installer (eg. only install some parts?)

With p2's Update UI, the end user can select any of the exposed features and install those. If your update site only has, for example, and SDK, Runtime, and Examples feature, then that's all p2 can install; however, if your SDK and Runtime contain smaller features which you expose to the update site, then p2 (and 3.3's Update, too) can install more selectively. The major difference in this scenario between 3.4 and 3.3 is performance -- p2 is multithreaded.

> Can it be used to install other things than plugins ? (e.g. JBossAS ?)

In theory, yes. An IU (installable unit) need not be a feature containing plugins. It can also be fragments or binaries -- in this way, you can now update Eclipse 3.4 to Eclipse 3.4.1 and p2 should not just install new features/plugins, but the eclipse executable as well. (I haven't done this, but it's part of p2's stated spec.)


> P2 vs Installer ?
> -----------------
>
>                 Key: JBIDE-2246
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-2246
>             Project: Tools (JBoss Tools)
>          Issue Type: Task
>          Components: Build/Releng, Ganymede
>            Reporter: Max Rydahl Andersen
>            Assignee: Snjezana Peco
>             Fix For: 3.0.0.cr1
>
>
> Is P2 stable/good enough for basing our updatesites on ? 
> Can we use it to have a more finegrained control in the installer (eg. only install some parts?)
> Can it be used to install other things than plugins ? (e.g. JBossAS ?)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list