Skip to main content

[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
 




Back to the top