Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Does the fwk load the config.ini

Out of curiosity, why do you need to prevent the reading of the user's configuration if the base has changed?  I guess you released some changes to the launcher to do this same kind of logic.  You just now need to apply that logic in EclipseStarter so it does not clobber the changes you did to the launcher?

Tom



Inactive hide details for Pascal Rapicault ---01/24/2013 03:54:51 PM---Your recollection is correct. Today the launcher reads tPascal Rapicault ---01/24/2013 03:54:51 PM---Your recollection is correct. Today the launcher reads the user configuration and then merges the ba

From: Pascal Rapicault <pascal.rapicault@xxxxxxxxxxxx>
To: Equinox development mailing list <equinox-dev@xxxxxxxxxxx>,
Date: 01/24/2013 03:54 PM
Subject: Re: [equinox-dev] Does the fwk load the config.ini
Sent by: equinox-dev-bounces@xxxxxxxxxxx





Your recollection is correct. Today the launcher reads the user configuration and then merges the based configuration, whereas the EclipseStarter only reads the user configuration.
The reason I’m looking into this is because I need to change the EclipseStarter logic to bypass the reading of the config.ini when the base has changed (which I can do easily since the heavy lifting is done in the launcher) but I wanted to be sure that not loading any properties in the FrameworkProperties would not be an issue.
From: equinox-dev-bounces@xxxxxxxxxxx [mailto:equinox-dev-bounces@xxxxxxxxxxx] On Behalf Of Thomas Watson
Sent:
 January-24-13 4:42 PM
To:
 Equinox development mailing list
Subject:
 Re: [equinox-dev] Does the fwk load the config.ini
 

Now that you mention that I am not sure what is expected to happen with the shared configuration and the config.ini files.  I guess it should read the users configuration and then merge in the parent configuration, or is it the other way around?  If I recall correctly the launcher does do cascade reading of the shared configurations, but I am unsure if the user's configuration overrides the parents or not.

At any rate, for shared configurations I think we depend on the launcher to do the merging of the cascaded configurations.

Tom



Inactive hide details for Pascal Rapicault ---01/24/2013 03:35:04 PM---Thanks for the pointer Tom. I've looked at the code and Pascal Rapicault ---01/24/2013 03:35:04 PM---Thanks for the pointer Tom. I've looked at the code and I'm a bit surprise to see that this code is

From:
Pascal Rapicault <pascal.rapicault@xxxxxxxxxxxx>
To:
Equinox development mailing list <equinox-dev@xxxxxxxxxxx>,
Date:
01/24/2013 03:35 PM
Subject:
Re: [equinox-dev] Does the fwk load the config.ini
Sent by:
equinox-dev-bounces@xxxxxxxxxxx






Thanks for the pointer Tom. I’ve looked at the code and I’m a bit surprise to see that this code is not handling shared configuration. Is that expected or am I missing something obvious?

Thx

Pascal

From:
 equinox-dev-bounces@xxxxxxxxxxx [mailto:equinox-dev-bounces@xxxxxxxxxxx] On Behalf Of Thomas Watson
Sent:
 January-24-13 3:18 PM
To:
 Equinox development mailing list
Subject:
 Re: [equinox-dev] Does the fwk load the config.ini
 

If the framework is launched with EclipseStarter (which the launcher uses) then yes it does [1].

Tom

[1] see org.eclipse.core.runtime.adaptor.EclipseStarter.loadConfigurationInfo()


Inactive hide details for Pascal Rapicault ---01/24/2013 12:25:23 PM---When running eclipse, does the framework also load the cPascal Rapicault ---01/24/2013 12:25:23 PM---When running eclipse, does the framework also load the config.ini or does always leave that to the l

From:
Pascal Rapicault <pascal.rapicault@xxxxxxxxxxxx>
To:
"equinox-dev@xxxxxxxxxxx" <equinox-dev@xxxxxxxxxxx>,
Date:
01/24/2013 12:25 PM
Subject:
[equinox-dev] Does the fwk load the config.ini
Sent by:
equinox-dev-bounces@xxxxxxxxxxx







When running eclipse, does the framework also load the config.ini or does always leave that to the launcher?
thx
Pascal

_______________________________________________
equinox-dev mailing list

equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev_______________________________________________
equinox-dev mailing list

equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev

GIF image


Back to the top