[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [equinox-dev] [prov] change in behaviour: Multiple versions ofthe same IU in a profile?

Ciao Pascal :)
The IUs's singelton property is set to 'false'.
Dependencies would require multiple versions to be installed:
IU a -> IU b Version 1.0
IU c -> IU b Version 1.1
In the end only Version 1.1 of IU b seemed to have been installed
although 1.0 was there at some point during the installation. However,
once 1.1 was installed 1.0 seems to be have been uninstalled, probably
along with all IUs that dependet on version 1.0 of it (like IU a)...
HTH & TIA,
Ciao, hh

________________________________

From: equinox-dev-bounces@xxxxxxxxxxx
[mailto:equinox-dev-bounces@xxxxxxxxxxx] On Behalf Of Pascal Rapicault
Sent: 26 May 2008 14:59
To: Equinox development mailing list
Cc: equinox-dev@xxxxxxxxxxx; equinox-dev-bounces@xxxxxxxxxxx
Subject: Re: [equinox-dev] [prov] change in behaviour: Multiple versions
ofthe same IU in a profile?



The resolver will always try to install the least number of IUs
satisfying the constraints available. Therefore if one version can
satisfy multiple constraints only it will be installed.
If you want multiple versions of the same IUs to be installed you need
to ensure that you have dependencies requiring each version.
The other thing you may want to look for if whether your IUs are
singleton or not.


Inactive hide details for "Haigermoser, Helmut" ---05/26/2008 06:50:48
AM---Ciao Guys :) In our p2-based installer prototype we"Haigermoser,
Helmut" ---05/26/2008 06:50:48 AM---Ciao Guys :) In our p2-based
installer prototype we noticed a change in behaviour:



From:	 
"Haigermoser, Helmut" <Helmut.Haigermoser@xxxxxxxxxxxxx>	

To:	 
<equinox-dev@xxxxxxxxxxx>	

Date:	 
05/26/2008 06:50 AM	

Subject:	 
[equinox-dev] [prov] change in behaviour: Multiple versions of the same
IU in a profile?	
________________________________




Ciao Guys :)
In our p2-based installer prototype we noticed a change in behaviour:
Where previous installations allowed for the installation of the same IU
with different versions a recent attempt would de-install older versions
of an IU if a newer one was installed...

Here's the question: Is this something p2 changed recently or should we
go looking for bugs in our code on top of P2?
TIA,
Ciao, hh
_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev