Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » Force p2 materializer to always create and activate a new target platform
Force p2 materializer to always create and activate a new target platform [message #629567] Tue, 28 September 2010 17:59 Go to next message
Markus Kuppe is currently offline Markus Kuppe
Messages: 177
Registered: July 2009
Senior Member
Hi,

is it somehow possible to force the p2 materializer in a .mspec to
always create a fresh target platform and set it to active irregardless
of the currently active TP?

Thanks
Markus
Re: Force p2 materializer to always create and activate a new target platform [message #629575 is a reply to message #629567] Tue, 28 September 2010 18:29 Go to previous message
Thomas Hallgren is currently offline Thomas Hallgren
Messages: 3229
Registered: July 2009
Senior Member
Hi Markus,

The easiest way to accomplish this is to create an empty directory and
then do setpref targetPlatformPath=<empty dir>. This ensures that you
have an empty, and active, target platform.

Combine that with an mspec that doesn't have an install location set and
it will default to the currently active target platform. Alternatively,
don't use an mspec at all and control what goes where using
source="true/false" in the RMAP providers. The result is the same, p2
materialized components end up in the active TP.

- thomas


On 09/28/2010 07:59 PM, Markus Alexander Kuppe wrote:
> Hi,
>
> is it somehow possible to force the p2 materializer in a .mspec to
> always create a fresh target platform and set it to active irregardless
> of the currently active TP?
>
> Thanks
> Markus
Previous Topic:SWT P2 Repositories
Next Topic:How to setup local reader, getting message: missing CSpec source required by component type eclipse.
Goto Forum:
  


Current Time: Tue Sep 16 03:17:20 GMT 2014

Powered by FUDForum. Page generated in 0.02268 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software