Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » How to check the consistency of the Platform ?
How to check the consistency of the Platform ? [message #335120] Mon, 23 March 2009 12:42 Go to next message
Eclipse UserFriend
Hi,

With the PDE, there is an interesting option "Validate plugins" prior to
launching (available on the Plug-ins tab of all PDE launchers). This
analyzes the list of plug-ins to find problems with plug-in dependencies.
That does exactly what we would like but for the Platform.

I would like to know if there is a way to check the consistency of the
plugins installed into Eclipse Platform ? Or has someone a plug-in that
does this check ?

Regards,
Jerome
Re: How to check the consistency of the Platform ? [message #335130 is a reply to message #335120] Mon, 23 March 2009 19:21 Go to previous messageGo to next message
Eclipse UserFriend
"Jerome Correnoz" <jerome.correnoz@st.com> wrote in message
news:e84941b6bca41f215aa327d63c968dad$1@www.eclipse.org...
> Hi,
>
> With the PDE, there is an interesting option "Validate plugins" prior to
> launching (available on the Plug-ins tab of all PDE launchers). This
> analyzes the list of plug-ins to find problems with plug-in dependencies.
> That does exactly what we would like but for the Platform.
>
> I would like to know if there is a way to check the consistency of the
> plugins installed into Eclipse Platform ? Or has someone a plug-in that
> does this check ?

I think that if you're talking about Eclipse 3.4 and later, the p2
provisioning system ensures that you can't install inconsistent plug-ins.
So probably there's an API in one of the p2 plug-ins
(org.eclipse.equinox.p2.*) that can invoke such a check programmatically, if
you need it.

Can you be more specific about what kind of inconsistencies you're
encountering (or are worried you might encounter), and in what situations?
That is, what's your use case?
Re: How to check the consistency of the Platform ? [message #335152 is a reply to message #335130] Tue, 24 March 2009 06:33 Go to previous messageGo to next message
Eclipse UserFriend
We deliver a product based on Eclipse 3.4 with a set of Eclipse plugins
(CDT, Mylin, etc.). Our product is based on Eclipse 3.4 but we don't
deliver p2 with it.

The use case is the following: Our end-users could install by themselves
some other plugins (e.g. DSDP, EMF through using the .zip packages).
Sometimes, they don't install all the required bundles or they don't have
the right bundle version. For an advanced Eclipse end-user, of course it's
possible to know which bundle dependency is not resolved and retrieve the
missing bundle. But for our end-user, it is not easy.

So, we would like to provide them with an easy way (press button, or at
Eclipse startup activation) to get the status of the installed bundles.
Mainly to get the missing required bundles. Like the PDE does with the
"Validate plugins" button.

Please let me know if the use case is clear now.

Jerome
Re: How to check the consistency of the Platform ? [message #335167 is a reply to message #335152] Tue, 24 March 2009 12:46 Go to previous message
Eclipse UserFriend
"Jerome Correnoz" <jerome.correnoz@st.com> wrote in message
news:5bf7c711b00386cb296f950fa94b5e6c$1@www.eclipse.org...
> We deliver a product based on Eclipse 3.4 with a set of Eclipse plugins
> (CDT, Mylin, etc.). Our product is based on Eclipse 3.4 but we don't
> deliver p2 with it.
> The use case is the following: Our end-users could install by themselves
> some other plugins (e.g. DSDP, EMF through using the .zip packages).
> Sometimes, they don't install all the required bundles or they don't have
> the right bundle version. For an advanced Eclipse end-user, of course it's
> possible to know which bundle dependency is not resolved and retrieve the
> missing bundle. But for our end-user, it is not easy.
>
> So, we would like to provide them with an easy way (press button, or at
> Eclipse startup activation) to get the status of the installed bundles.
> Mainly to get the missing required bundles. Like the PDE does with the
> "Validate plugins" button.
>
> Please let me know if the use case is clear now.


Well, the use case is clear, but it sounds to me like the functionality
you're looking for is in the plug-ins that you've decided not to ship (p2).
Previous Topic:my 3.3 plugin doesn't work in 3.4
Next Topic:adding RCP dev capabilities into JEE distribution
Goto Forum:
  


Current Time: Thu May 01 00:16:12 EDT 2025

Powered by FUDForum. Page generated in 0.06170 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top