PDE Build with p2.gathering and root files fails. [message #549120] |
Sat, 24 July 2010 16:18  |
Eclipse User |
|
|
|
Hi,
I'm having a problem here shipping the JRE with our product package
using the root-properties.
I have a working PDE build for our product, including the generation
of p2 metadata using the p2.gathering=true switch. Now as soon as I add
the
root.linux.gtk.x86.folder.jre=absolute:/path/to/jre
line to the build.properties of the main feature project for this product
the build fails during the p2 director execution. And I can't quite
understand what the problem is or how to solve it:
[echo] !ENTRY org.eclipse.equinox.p2.director 4 1 2010-07-24
17:48:47.314
[echo] !MESSAGE Cannot complete the install because of a conflicting
dependency.
[echo] !SUBENTRY 1 org.eclipse.equinox.p2.director 4 0 2010-07-24
17:48:47.315
[echo] !MESSAGE Software being installed: MyIDE 4.1.0-SNAPSHOT 4.1.0.27
(ide.product 4.1.0.27)
[echo] !SUBENTRY 1 org.eclipse.equinox.p2.director 4 1 2010-07-24
17:48:47.316
[echo] !MESSAGE Only one of the following can be installed at once:
[echo] !SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2010-07-24
17:48:47.317
[echo] !MESSAGE ide.product_root.gtk.linux.x86 1.1.0.27
[echo] !SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2010-07-24
17:48:47.318
[echo] !MESSAGE ide.product_root.gtk.linux.x86 4.1.0.27
[echo] !SUBENTRY 1 org.eclipse.equinox.p2.director 4 1 2010-07-24
17:48:47.318
[echo] !MESSAGE Cannot satisfy dependency:
[echo] !SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2010-07-24
17:48:47.319
[echo] !MESSAGE From: MyIDE 4.1.0-SNAPSHOT 4.1.0.27 (ide.product
4.1.0.27)
[echo] !SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2010-07-24
17:48:47.320
[echo] !MESSAGE To: ide.product.feature.group [1.1.0.27]
[echo] !SUBENTRY 1 org.eclipse.equinox.p2.director 4 1 2010-07-24
17:48:47.321
[echo] !MESSAGE Cannot satisfy dependency:
[echo] !SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2010-07-24
17:48:47.322
[echo] !MESSAGE From: MyIDE 4.1.0-SNAPSHOT 4.1.0.27 (ide.product
4.1.0.27)
[echo] !SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2010-07-24
17:48:47.324
[echo] !MESSAGE To: ide.product_root.gtk.linux.x86 [4.1.0.27]
[echo] !SUBENTRY 1 org.eclipse.equinox.p2.director 4 1 2010-07-24
17:48:47.324
[echo] !MESSAGE Cannot satisfy dependency:
[echo] !SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2010-07-24
17:48:47.325
[echo] !MESSAGE From: MyIDE Product 1.1.0.27 (ide.product.feature.group
1.1.0.27)
[echo] !SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2010-07-24
17:48:47.325
[echo] !MESSAGE To: ide.product_root.gtk.linux.x86 [1.1.0.27]
|
|
|
|
|
Re: PDE Build with p2.gathering and root files fails. [message #658297 is a reply to message #551039] |
Mon, 07 March 2011 12:45  |
Eclipse User |
|
|
|
The following error message is very strange, and pretty hard to get to the
root cause. :(
Error message (excerpt):
"
....
Cannot complete the install because of a conflicting dependency.
....
Cannot satisfy dependency:
....
"
I've spend a couple of hours to see what was wrong.
As Andreas already highlighted, one should double check if *.product id !=
plugin's symbolic name - in which the *.product resides.
IMO, one should better leave the *.product ID empty.
Note: I didn't used root files while I've been facing this issue.
Regards
Jtonic.
On Thu, 05 Aug 2010 01:47:42 +0300, Andreas Pakulat <apaku@gmx.de> wrote:
> Andreas Pakulat wrote:
>
>> Hi,
>>
>> I'm having a problem here shipping the JRE with our product package
>> using the root-properties.
>>
>> I have a working PDE build for our product, including the generation
>> of p2 metadata using the p2.gathering=true switch. Now as soon as I add
>> the
>>
>> root.linux.gtk.x86.folder.jre=absolute:/path/to/jre
>
> It turns out the root-files just triggered an error elsewhere in my rcp
> build. I had the .product file and a feature use the same id, which is
> apparently not a very wise idea. So after using a different id in the
> product file the build with rootfiles works fine now.
>
> Andreas
--
Respect
jtonic
|
|
|
Powered by
FUDForum. Page generated in 0.03912 seconds