[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] Question on -configuration argument for shared install

Hum...
AFAIK, creating a new profile is done
* during the creation of your initial product
* when creating a new Run ... launch configuration

In your case, you're starting from a single Equinox install to have 2 different environments (not the same plugins used at the end, but the same runtime, right ?), so maybe copying/pasting the p2 folder + the configuration directory (to keep track of the bundles.info file) using the right configuration and -Declipse.p2.x arguments at each start could do the work ?



DeÂ: p2-dev-bounces@xxxxxxxxxxx [mailto:p2-dev-bounces@xxxxxxxxxxx] De la part de Domenico Alessi
EnvoyÃÂ: 25 octobre 2011 15:53
ÃÂ: P2 developer discussions
ObjetÂ: Re: [p2-dev] Question on -configuration argument for shared install

Hi Anthony,
Â
Â
Ok, but what if I want to create a new p2 profile?
Â
Dom


Â
Le contenu de ce courriel s'adresse au destinataire seulement. Il contient de l'information pouvant Ãtre confidentielle.ÂVous ne devezÂni le copierÂni l'utiliser niÂle divulguerÂà qui que ce soit à moins que vous soyez le destinataire ou une personne dÃsignÃe autorisÃe. Si vousÂle receviez par erreur, veuillez nous aviser immÃdiatementÂet le dÃtruire.
Â
The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.
Â

From: p2-dev-bounces@xxxxxxxxxxx [mailto:p2-dev-bounces@xxxxxxxxxxx] On Behalf Of Dahanne, Anthony
Sent: October-25-11 3:47 PM
To: P2 developer discussions
Subject: Re: [p2-dev] Question on -configuration argument for shared install
Hello Domenico,
Did you try playing with those arguments ?
-Declipse.p2.profile=DefaultProfile
-Declipse.p2.data.area=[...]/p2/
It would specify the p2 profile to consider when starting your runtime (so that p2 knows what is installed/not installed)
HTH,
Anthony



Â
Le contenu de ce courriel s'adresse au destinataire seulement. Il contient de l'information pouvant Ãtre confidentielle.ÂVous ne devezÂni le copierÂni l'utiliser niÂle divulguerÂà qui que ce soit à moins que vous soyez le destinataire ou une personne dÃsignÃe autorisÃe. Si vousÂle receviez par erreur, veuillez nous aviser immÃdiatementÂet le dÃtruire.
Â
The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.
Â
DeÂ: p2-dev-bounces@xxxxxxxxxxx [mailto:p2-dev-bounces@xxxxxxxxxxx] De la part de Domenico Alessi
EnvoyÃÂ: 25 octobre 2011 15:43
ÃÂ: P2 developer discussions
ObjetÂ: Re: [p2-dev] Question on -configuration argument for shared install

Hi All,
Â
Actually my question in the end is, instead of specifying -configuration, is there an argument that can create the .eclipse folder somewhere else, and this holds the p2 and configuration directory?
Â
Thanks,
Dom

________________________________________
From: Domenico Alessi
Sent: October-25-11 3:40 PM
To: 'P2 developer discussions'
Subject: Question on -configuration argument for shared install
Hi All,
Â
Today when I start eclipse for example like this inÂa shared install:
Â
eclipse -configuration /a/b/c
Â
The "c" folder will hold the configuration and the "b" folder will have the p2 folder created. Is there a way to specify where the p2 folder is created? The reason I ask is that I did the following:
Â
Â
eclipse -configuration /a/b/c , then installed plugin A
Â
I then did
Â
eclipse -configuration /a/b/d. I see that plugin A is not there according to the features tab in installation details of "d", but because both "c" and "d" sharing theÂ"b" p2 directory, the "installed software" tab thinks that plugin A is installed when it is not.
Â
BR,
Dom
Â


DOMENIC ALESSIÂ
Product Manager - PL Engineering Environments
8500 Decarie
H4P 2N2, Montreal, Quebec, Canada
Phone +1 514 345 7900 ext:46081Â
North American Mobile Number:+1-514-237-9974
European Mobile Number:+44 (0) 7595 105 501
ECN: 8104 6081
Fax +1 514 345 6167
domenico.alessi@xxxxxxxxxxxx
www.ericsson.com




This Communication is Confidential. We only send and receive email on the basis of the terms set out at www.ericsson.com/email_disclaimer
Â