[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [p2-dev] P2 Director App Target Environment



This brings up another issue.  I'm not able to install the same IU
multiple times, each with a different os/ws/arch.  I assume p2.director
discovers the IU has already been installed for a previous os/ws/arch,
and does attempt to install it again with the different os/ws/arch

Briefly, I'm trying to initialize an environment with the IU
"org.eclipse.equinox.executable.feature.group".  I need both win32 and
linux platform specific launcher plug-ins.

I guess my next course of action is to initialize my multi-platform
environment with each plug-in independently.  

-----Original Message-----
From: p2-dev-bounces@xxxxxxxxxxx [mailto:p2-dev-bounces@xxxxxxxxxxx] On
Behalf Of Haigermoser, Helmut
Sent: Thursday, April 09, 2009 3:52 AM
To: P2 developer discussions
Subject: RE: [p2-dev] P2 Director App Target Environment

Ciao Dennis :)
Right now p2 does not support multi-platform profiles like that. 
Pascal lied out the method to achieve a multi-OS setup: create one
profile per platform with a shared bundle pool (@see attached mail)

In the long run it would be a nice improvement to allow the
p2.[os/ws/arch] to be osgi filters that could have multiple values,
win32|linux for example, but that's not on the agenda (yet)...

Ciao, hh 

-----Original Message-----
From: p2-dev-bounces@xxxxxxxxxxx [mailto:p2-dev-bounces@xxxxxxxxxxx] On
Behalf Of O'Flynn, Dennis
Sent: Wednesday, April 08, 2009 10:30 PM
To: p2-dev@xxxxxxxxxxx
Subject: [p2-dev] P2 Director App Target Environment

Q: Is it possible to specify "*" as the destination environment for the
p2.os / ps.ws / ps.arch arguments for the P2 director application?


I'm trying to use P2 to initialize a multi-platform environment.  I'm
attempting to run the P2 director application from an ant script.  I set
the destination execution environment arguments as:

                  <arg line="-p2.os *" />

                  <arg line="-p2.ws *" />

                  <arg line="-p2.arch *" />


The P2 director app run and installs the non-platform specific plug-ins.
However, the platform specific plug-ins are missing.


I'm curious if "*,*,*" is supported.  Or, do I need to run the P2
director app for each desired execution environment (ie:
win32,win32,x86, linux,gtk,x86, etc...)

Dennis O'Flynn
Technical Consultant
One Campus Martius
Detroit, Michigan 48226
313-227-7433 Work
313-227-9230 Fax


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.