[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] Creating P2's default profile

Hello Sebastian,
I guess you should rather use an existing p2 profile.
When you created your target platform, a default profile might have been provisioned.
If you created it from inside eclipse, using the target platform editor (and set as target button), the p2 profile artifacts should be in ${workspace}/.metadata\.plugins\org.eclipse.pde.core\.p2
If you created it from a product, then the usual path should be used : ${base directory}/p2
Once you have located your profile directory, you can reference it from your runtime, using the right VM arguments as seen in [1] :

You can replace SDKProfile with the name of your profile which is PROFILE_NAME:
 {p2 directory}/org.eclipse.equinox.p2.engine\profileRegistry\{PROFILE_NAME}.profile

Hope it helps !

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 Sebastian Schmidt
EnvoyÃÂ: 27 juin 2011 09:13
ÃÂ: p2-dev@xxxxxxxxxxx
ObjetÂ: [p2-dev] Creating P2's default profile


I'm trying to install an IU to P2's default profile using the P2
console as described here [1]. Unfortunately, the default profile
isn't created during the first start up of my target platform. I
searched the mailing lists and tried several ways to achieve this
(using eclipse.p2.profile and eclipse.p2.data.area arguments for

Which dependencies are needed for P2 to create the default profile?
Perhaps I missed to include something. This is the list of running
bundles on my target platform: [2]. Otherwise, what else can I do to
debug why the default profile isn't there?

Thanks for any help,


[1] http://wiki.eclipse.org/Equinox_p2_Console_Users_Guide
[2] http://pastebin.com/BuyC3eCa
p2-dev mailing list