Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » How to change the default product having installed a feature into platform?
How to change the default product having installed a feature into platform? [message #490130] Wed, 07 October 2009 13:25 Go to next message
James Blackburn is currently offline James BlackburnFriend
Messages: 36
Registered: July 2009
Member
Hi All,

I'm installing a feature into an eclipse-platform release using p2 director. Unfortunately I can't figure out how to change the default product.

I've tried changing the strings in:
configuration/config.ini
.eclipseproduct
eclipse.ini
& running eclipse with '-clean'


Unfortunately the config.ini in the user's writable configuration still ends up specifying the platform config:

cat ~user/.eclipse/config3.5_x86_64/configuration/config.ini
#This configuration file was written by: org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxF wConfigFileParser
#Wed Oct 07 14:14:00 BST 2009
osgi.sharedConfiguration.area=file\:configuration/
eclipse.buildId=M20090917-0800
eclipse.product=org.eclipse.platform.ide


Note when I run the shared eclipse for the first time, it's using my product correctly. However if I change the release of Eclipse that I run, it falls back to running the platform product (though my features appear to still be correctly installed).

Can anyone point me at documentation on how to change the default product?

Cheers,
James
Re: How to change the default product having installed a feature into platform? [message #490137 is a reply to message #490130] Wed, 07 October 2009 13:42 Go to previous message
James Blackburn is currently offline James BlackburnFriend
Messages: 36
Registered: July 2009
Member
Just noticed the PDE sets the -product switch when launching a runtime Eclipse, which I can also do in my wrapper.

Hopefully I can stop pining for old-UM now...

Cheers,
James

James Blackburn wrote:
> Hi All,
>
> I'm installing a feature into an eclipse-platform release using p2
> director. Unfortunately I can't figure out how to change the default
> product.
>
> I've tried changing the strings in:
> configuration/config.ini
> .eclipseproduct
> eclipse.ini
> & running eclipse with '-clean'
>
>
> Unfortunately the config.ini in the user's writable configuration still
> ends up specifying the platform config:
>
> cat ~user/.eclipse/config3.5_x86_64/configuration/config.ini
> #This configuration file was written by:
> org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxF wConfigFileParser
>
> #Wed Oct 07 14:14:00 BST 2009
> osgi.sharedConfiguration.area=file\:configuration/
> eclipse.buildId=M20090917-0800
> eclipse.product=org.eclipse.platform.ide
>
>
> Note when I run the shared eclipse for the first time, it's using my
> product correctly. However if I change the release of Eclipse that I
> run, it falls back to running the platform product (though my features
> appear to still be correctly installed).
>
> Can anyone point me at documentation on how to change the default product?
>
> Cheers,
> James
>
Previous Topic:How to safely disable a bundle
Next Topic:Are you responsible for providing eclipse at your firm?
Goto Forum:
  


Current Time: Fri Apr 19 21:40:54 GMT 2024

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

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

Back to the top