Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsPDE Build with p2.gathering and root files fails.
https://www.eclipse.org/forums/index.php/mv/msg/172576/549120/#msg_549120
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
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]]]>Andreas Pakulat2010-07-24T20:18:49-00:00Re: PDE Build with p2.gathering and root files fails.
https://www.eclipse.org/forums/index.php/mv/msg/172576/551039/#msg_551039
> 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]]>Andreas Pakulat2010-08-04T22:47:42-00:00Re: PDE Build with p2.gathering and root files fails.
https://www.eclipse.org/forums/index.php/mv/msg/172576/606428/#msg_606428
> 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]]>Andreas Pakulat2010-08-04T22:47:42-00:00Re: PDE Build with p2.gathering and root files fails.
https://www.eclipse.org/forums/index.php/mv/msg/172576/658297/#msg_658297
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]]>Antonel Ernest Pazargic2011-03-07T17:45:40-00:00