Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] Director produces unwanted "SDKProfile" profile?


This also has come up with the integration of the director into pde.build when building products.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=268136
https://bugs.eclipse.org/bugs/show_bug.cgi?id=268138

-Andrew



Fredrik Alströmer <roe@xxxxxxx>
Sent by: p2-dev-bounces@xxxxxxxxxxx

03/17/2009 10:55 AM

Please respond to
P2 developer discussions <p2-dev@xxxxxxxxxxx>

To
P2 developer discussions <p2-dev@xxxxxxxxxxx>
cc
Subject
Re: [p2-dev] Director produces unwanted "SDKProfile" profile?





Sweet, that did indeed do the trick. Thanks!

Is there a bug report for this? I didn't find one, but perhaps I
didn't look hard enough..

On Tue, Mar 17, 2009 at 15:44, Thomas Hallgren <thomas@xxxxxxx> wrote:
> Hi Fredrik,
> I noticed this too. My workaround for now is to provide
> -Declipse.p2.profile="" profile> as an argument to the JVM.
>
> I ran some debugging and could conclude that the equinox launcher picks up
> the SDKProfile from the config.ini of the IDE (assuming that the director
> you're running resides in an IDE) and uses it as the default 'self' profile.
> A -D setting on the command line will override this.
>
> Regards,
> Thomas Hallgren
>
> Fredrik Alströmer wrote:
>>
>> Hi, me again,
>>
>> I got my other problems figured out (was a signature verification
>> failure due to me having imported a plugin with sources into my
>> workspace), now I've upgraded to 3.5M6 and I noticed that running the
>> director to 'bootstrap' an installation creates a profile 'SDKProfile'
>> in addition to the one I specified on the commandline (-profile), not
>> my configuration is generated correctly, so my product is launched
>> with the correct profile.
>>
>> Why is the SDKProfile-profile created, does it serve a purpose? (It
>> wasn't created when performing the same steps in M5) Could it be that
>> something 'accidentally' got installed into the wrong profile?
>>
>> What's worse, the SDKProfile contains a 'p2.cache' property pointing
>> to (absolute path) the eclipse installation that I used do the
>> bootstrap, which it complains about not being able to find at startup.
>>
>> Any ideas?
>>
>> Thanks,
>> Fredrik.
>> _______________________________________________
>> p2-dev mailing list
>> p2-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/p2-dev
>>
>
> _______________________________________________
> p2-dev mailing list
> p2-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/p2-dev
>
_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev


Back to the top