Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » Can't export product: qualifiers in dependent plugins don't match
Can't export product: qualifiers in dependent plugins don't match [message #1007645] Wed, 06 February 2013 21:07 Go to next message
Dave Korn is currently offline Dave KornFriend
Messages: 2
Registered: June 2010
Junior Member
Hello list,


I'm building an Eclipse product based on Helios and CDT, and using the
stand-alone p2 Installer executable to install it for end users.

I've imported the source for several plugins that I've had to modify; for
example, I've imported org.eclipse.equinox.launcher in order to add some new
command-line options.

When I imported the sources for this plugin, it came with a hard-coded
qualifier in the Bundle-Version setting: 1.1.0.v20100507.

I've replaced that with 1.1.0.qualifier, because I've already released a
version of my product, and now I want to be able to update installations of
the old product with a new release. If I just left the Bundle-Version
unchanged, the p2 Installer application wouldn't install the newer version of
the plugin into the existing installation, because it wouldn't realise that
it's newer than the existing one.

However this leaves me with the problem that unmodified plugins in the
platform I'm building against appear to expect a precise version of the
qualifier. When I try to import my product with the modified launcher plugin,
I get the error message:

> Processing inclusion from feature org.eclipse.equinox.executable: Unable to
> find plug-in: org.eclipse.equinox.launcher_1.1.0.v20100507. Please check the
> error log for more details.

I haven't imported the source for org.eclipse.equinox.executable because I
haven't needed to modify it, but it seems to be specifying the exact original
version of the launcher. Is there some way I can tell the Export Product
wizard to accept the newer compatible version of the launcher?

Thanks for any advice you can offer,
Dave Korn
[SOLVED] Re: Can't export product: qualifiers in dependent plugins don't match [message #1008000 is a reply to message #1007645] Thu, 07 February 2013 16:08 Go to previous message
Dave Korn is currently offline Dave KornFriend
Messages: 2
Registered: June 2010
Junior Member
On 06/02/2013 21:07, Dave Korn wrote:

>> Processing inclusion from feature org.eclipse.equinox.executable: Unable to
>> find plug-in: org.eclipse.equinox.launcher_1.1.0.v20100507. Please check the
>> error log for more details.

I probably should have posted this in .pde rather than .p2, but I thought
the solution was going to involved a p2.inf file. In fact, it was just a
matter of importing all the features that were referenced by my product, and
replacing hardcoded datestamp qualifiers by ".qualifier" strings for the
plugins that I had modified.

cheers,
Dave Korn.
Previous Topic:How to define custom p2 touchpoint actions correctly?
Next Topic:Eclipse not loading workspace
Goto Forum:
  


Current Time: Mon Nov 24 18:05:18 GMT 2014

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

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