Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [p2-dev] Backporting p2 to Eclipse 3.4

Hi, Marius. I can help with question #2...

>2) - the About dialog functionality you mentioned. I found some classes in the org.eclipse.ui.workbench that implement the functionality (InstallationPage, InstalledSoftwarePage, ProductInfoPage, AboutPluginsPage, >aboutSystemPage). Are these the only ones or are there any other related to p2?

The installation pages are contributed by an extension point in 3.5. The classes you mention are the pages, but to show them you must have the 3.5 about dialog, (org.eclipse.ui.internal.dialogs.AboutDialog) and the 3.5 versions of whatever it is referencing. You also need the extension point definition schema for org.eclipse.ui.installationPages, which is in org.eclipse.ui. If your product supports features, there is also the class AboutFeaturesPage. For each page, you need to ensure that the extension definition is included in the plugin.xml of the associated project. If you took the 3.5 p2, then the p2 declarations are already made, but you would need the page declarations in org.eclipse.ui and org.eclipse.ui.ide.

susan
Inactive hide details for "Cetateanu Marius-B01107" <Marius.Cetateanu@xxxxxxxxxxxxx>"Cetateanu Marius-B01107" <Marius.Cetateanu@xxxxxxxxxxxxx>




          "Cetateanu Marius-B01107" <Marius.Cetateanu@xxxxxxxxxxxxx>
          Sent by: p2-dev-bounces@xxxxxxxxxxx

          10/06/2009 04:59 AM
          Please respond to P2 developer discussions



To: "P2 developer discussions" <p2-dev@xxxxxxxxxxx>
cc: <p2-dev-bounces@xxxxxxxxxxx>
Subject: RE: [p2-dev] Backporting p2 to Eclipse 3.4


Hi,

I managed to successfully backport the Galileo p2 functionality to Ganymede. I tried a simple update example and it works; I also tried an example using
a Policy defined by myself and it works. But of course that I ran into some problems:

1) - the update site generated with Eclipse 3.4 is not compatible with the Galileo p2 provisioning (the one generated with Eclipse 3.5 works fine); I guess I kind of saw that coming and that it has something to do with the org.eclipse.pde.p2.ui you mentioned. Is it there where the update site project functionality is implemented?

2) - the About dialog functionality you mentioned. I found some classes in the org.eclipse.ui.workbench that implement the functionality (InstallationPage, InstalledSoftwarePage, ProductInfoPage, AboutPluginsPage, aboutSystemPage). Are these the only ones or are there any other related to p2?

3) - I cannot find a consistent example on how to properly generate and configure an update site that would update my specific features/plugins, my Eclipse
platform plugins and also some other stuff I have in my product (like folders with executables, libraries and configuration files). Dou you know of any
such examples?

Thanks

Marius Cetateanu
DevTech - Software Engineer
Freescale Semiconductor Romania SRL
45, Tudor Vladimirescu Street
Tati Business Center
Bucharest 050881, Romania
www.freescale.com
Phone: +040 213052078
Mobile: +040 742191809
Fax: +040 213052000
email: Marius.Cetateanu@xxxxxxxxxxxxx




From: p2-dev-bounces@xxxxxxxxxxx [mailto:p2-dev-bounces@xxxxxxxxxxx] On Behalf Of Pascal Rapicault
Sent:
Thursday, October 01, 2009 4:46 PM
To:
P2 developer discussions
Cc:
p2-dev@xxxxxxxxxxx; p2-dev-bounces@xxxxxxxxxxx
Subject:
Re: [p2-dev] Backporting p2 to Eclipse 3.4

Hi Marius,

This is not something that we actively support nor that we have tried.
However I think it should be doable given that in 3.4 the dependencies on p2 from the other plug-ins was rather minimal. In fact, running the API usage tool [1], the only reference I got back was org.eclipse.pde.p2.ui, which I believe you could simply punt if it turned out to be incompatible.

However this will not get you the new about dialog behavior which provides a way for users to uninstall or revert since this relies on new functionality being introduced in UI plug-in in 3.5. That said this could probably easily be backported to 3.4 as well as this is rather self contained.

HTH

PaScaL

[1]
http://download.eclipse.org/eclipse/downloads/drops/S-3.6M2-200909170100/eclipse-news-M2.html#PDE

Inactive hide details for "Cetateanu Marius-B01107" ---10/01/2009 02:51:35 AM---Hi,"Cetateanu Marius-B01107" ---10/01/2009 02:51:35 AM---Hi,


From:

"Cetateanu Marius-B01107" <Marius.Cetateanu@xxxxxxxxxxxxx>

To:

<p2-dev@xxxxxxxxxxx>

Date:

10/01/2009 02:51 AM

Subject:

[p2-dev] Backporting p2 to Eclipse 3.4





Hi,

I would like to know if it's possible and feasible to backport the whole
p2 updater feature
to Eclipse 3.4. We're working on an Eclipse based IDE and we cannot
update for the time being
to Eclipse 3.5 but we would benefit from having the p2 updater feature
from 3.5 in our product.
If it's possible (we have about 3 weeks to do the backporting) could
anyone point me to
the documentation I should read to start the process?

Thanks  

Marius Cetateanu  
DevTech  - Software Engineer
Freescale Semiconductor Romania SRL
45, Tudor Vladimirescu Street
Tati Business Center
Bucharest 050881, Romania
www.freescale.com
Phone:    +040 213052078
Mobile:    +040 742191809
Fax:        +040 213052000
email:  Marius.Cetateanu@xxxxxxxxxxxxx

_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx

https://dev.eclipse.org/mailman/listinfo/p2-dev

_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev

GIF image

GIF image

GIF image


Back to the top