Home » Eclipse Projects » P2 » shared bundle pool and features with different versions
shared bundle pool and features with different versions [message #1232723] |
Fri, 17 January 2014 10:13  |
Eclipse User |
|
|
|
Hi
I've just started playing with eclipse installations with shared
bundlepool (I install them with the p2 director).
Say now that I have two Eclipse SDK installations using the same bundlepool.
I noted that if I install in one eclipse a feature which is already
present in the bundlepool, but with a different version, this version
replaces completely the previous feature (thus invalidating the other
eclipse installation)... I thought that both versions could coexist in
the shared bundlepool... while it is not possible?
I have some ant targets that install different eclipse sdk with the
director (using the bundlepool) and then installs all the features (most
of them are common).
I run one target that installs one eclipse; if I run another ant target
for installing another eclipse installation with basically the same
features as the previous one except for a specific feature with a
different version, as soon as such feature with a different version
replaces the existing one in the bundlepool, then all the other features
(even if they have the same versions of the ones already present in the
bundlepool) are downloaded again...
am I missing something?
thanks in advance
Lorenzo
--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book
|
|
| |
Re: shared bundle pool and features with different versions [message #1234563 is a reply to message #1234558] |
Wed, 22 January 2014 04:08   |
Eclipse User |
|
|
|
On 22/01/2014 09:59, Eike Stepper wrote:
> Hi Lorenzo,
>
> I think that is because both installations use the same profile in the
> agent's profile registry. You should create the installations with
> different profileIDs. If you don't care about "pretty" profileIDs you
> could use encoded install folder paths to help to identify later for
> what installation a profile was created.
Thanks Eike!
I was actually using the same profileID; I'll try using different
profileIDs ;)
cheers
Lorenzo
>
> Cheers
> /Eike
>
> ----
> http://www.esc-net.de
> http://thegordian.blogspot.com
> http://twitter.com/eikestepper
>
>
> Am 17.01.2014 16:13, schrieb Lorenzo Bettini:
>> Hi
>>
>> I've just started playing with eclipse installations with shared
>> bundlepool (I install them with the p2 director).
>>
>> Say now that I have two Eclipse SDK installations using the same
>> bundlepool.
>>
>> I noted that if I install in one eclipse a feature which is already
>> present in the bundlepool, but with a different version, this version
>> replaces completely the previous feature (thus invalidating the other
>> eclipse installation)... I thought that both versions could coexist in
>> the shared bundlepool... while it is not possible?
>>
>> I have some ant targets that install different eclipse sdk with the
>> director (using the bundlepool) and then installs all the features (most
>> of them are common).
>> I run one target that installs one eclipse; if I run another ant target
>> for installing another eclipse installation with basically the same
>> features as the previous one except for a specific feature with a
>> different version, as soon as such feature with a different version
>> replaces the existing one in the bundlepool, then all the other features
>> (even if they have the same versions of the ones already present in the
>> bundlepool) are downloaded again...
>>
>> am I missing something?
>>
>> thanks in advance
>> Lorenzo
>>
>
--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book
|
|
|
Re: shared bundle pool and features with different versions [message #1234653 is a reply to message #1234563] |
Wed, 22 January 2014 08:40   |
Eclipse User |
|
|
|
Hi Eike
I tried to use two different profileIDs but the problem is still there...
On 22/01/2014 10:08, Lorenzo Bettini wrote:
> On 22/01/2014 09:59, Eike Stepper wrote:
>> Hi Lorenzo,
>>
>> I think that is because both installations use the same profile in the
>> agent's profile registry. You should create the installations with
>> different profileIDs. If you don't care about "pretty" profileIDs you
>> could use encoded install folder paths to help to identify later for
>> what installation a profile was created.
>
> Thanks Eike!
>
> I was actually using the same profileID; I'll try using different
> profileIDs ;)
>
> cheers
> Lorenzo
>
>>
>> Cheers
>> /Eike
>>
>> ----
>> http://www.esc-net.de
>> http://thegordian.blogspot.com
>> http://twitter.com/eikestepper
>>
>>
>> Am 17.01.2014 16:13, schrieb Lorenzo Bettini:
>>> Hi
>>>
>>> I've just started playing with eclipse installations with shared
>>> bundlepool (I install them with the p2 director).
>>>
>>> Say now that I have two Eclipse SDK installations using the same
>>> bundlepool.
>>>
>>> I noted that if I install in one eclipse a feature which is already
>>> present in the bundlepool, but with a different version, this version
>>> replaces completely the previous feature (thus invalidating the other
>>> eclipse installation)... I thought that both versions could coexist in
>>> the shared bundlepool... while it is not possible?
>>>
>>> I have some ant targets that install different eclipse sdk with the
>>> director (using the bundlepool) and then installs all the features (most
>>> of them are common).
>>> I run one target that installs one eclipse; if I run another ant target
>>> for installing another eclipse installation with basically the same
>>> features as the previous one except for a specific feature with a
>>> different version, as soon as such feature with a different version
>>> replaces the existing one in the bundlepool, then all the other features
>>> (even if they have the same versions of the ones already present in the
>>> bundlepool) are downloaded again...
>>>
>>> am I missing something?
>>>
>>> thanks in advance
>>> Lorenzo
>>>
>>
>
>
--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book
|
|
|
Re: shared bundle pool and features with different versions [message #1234704 is a reply to message #1234653] |
Wed, 22 January 2014 11:21  |
Eclipse User |
|
|
|
OK, found the problem: I also need to pass the -shared command line
option (possibly with a directory, otherwise it defaults to
${user.home}/.p2).
thanks!
Lorenzo
On 22/01/2014 14:40, Lorenzo Bettini wrote:
> Hi Eike
>
> I tried to use two different profileIDs but the problem is still there...
>
> On 22/01/2014 10:08, Lorenzo Bettini wrote:
>> On 22/01/2014 09:59, Eike Stepper wrote:
>>> Hi Lorenzo,
>>>
>>> I think that is because both installations use the same profile in the
>>> agent's profile registry. You should create the installations with
>>> different profileIDs. If you don't care about "pretty" profileIDs you
>>> could use encoded install folder paths to help to identify later for
>>> what installation a profile was created.
>>
>> Thanks Eike!
>>
>> I was actually using the same profileID; I'll try using different
>> profileIDs ;)
>>
>> cheers
>> Lorenzo
>>
>>>
>>> Cheers
>>> /Eike
>>>
>>> ----
>>> http://www.esc-net.de
>>> http://thegordian.blogspot.com
>>> http://twitter.com/eikestepper
>>>
>>>
>>> Am 17.01.2014 16:13, schrieb Lorenzo Bettini:
>>>> Hi
>>>>
>>>> I've just started playing with eclipse installations with shared
>>>> bundlepool (I install them with the p2 director).
>>>>
>>>> Say now that I have two Eclipse SDK installations using the same
>>>> bundlepool.
>>>>
>>>> I noted that if I install in one eclipse a feature which is already
>>>> present in the bundlepool, but with a different version, this version
>>>> replaces completely the previous feature (thus invalidating the other
>>>> eclipse installation)... I thought that both versions could coexist in
>>>> the shared bundlepool... while it is not possible?
>>>>
>>>> I have some ant targets that install different eclipse sdk with the
>>>> director (using the bundlepool) and then installs all the features (most
>>>> of them are common).
>>>> I run one target that installs one eclipse; if I run another ant target
>>>> for installing another eclipse installation with basically the same
>>>> features as the previous one except for a specific feature with a
>>>> different version, as soon as such feature with a different version
>>>> replaces the existing one in the bundlepool, then all the other features
>>>> (even if they have the same versions of the ones already present in the
>>>> bundlepool) are downloaded again...
>>>>
>>>> am I missing something?
>>>>
>>>> thanks in advance
>>>> Lorenzo
>>>>
>>>
>>
>>
>
>
--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book
|
|
|
Goto Forum:
Current Time: Wed Jul 23 16:19:31 EDT 2025
Powered by FUDForum. Page generated in 0.24917 seconds
|