Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Global Preferences in 3.3?
Global Preferences in 3.3? [message #321601] Mon, 22 October 2007 14:40 Go to next message
Miles Daffin is currently offline Miles DaffinFriend
Messages: 86
Registered: July 2009
Member
Folks,

Can anyone tell me if it is possible to provide global (as opposed to
workspace scope) preferences in eclipse 3.3? And by this I mean is it
possible to configure an eclipse 3.3 install in such a way that each
workspace starts out with the same set of defaults?

Context: I am trying to create an install for my company that points to
the right update policy and uses the 'right' code style etc. out of the
box (no preferences import necessary). Previously I achieved this using
the -plugincustomization argument but this was not very convenient. I had
to configure my preferences, export them, and strip some stuff from the
resulting epf which is then referenced by the above command line argument.

Thanks,

Miles
Re: Global Preferences in 3.3? [message #321609 is a reply to message #321601] Mon, 22 October 2007 17:24 Go to previous messageGo to next message
Miles Daffin is currently offline Miles DaffinFriend
Messages: 86
Registered: July 2009
Member
Oops. Looks like I asked another one of those 'off the map' questions... :)
Re: Global Preferences in 3.3? [message #321623 is a reply to message #321601] Tue, 23 October 2007 06:21 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wharley.bea.com

"Miles Daffin" <miles.daffin@morganstanley.com> wrote in message
news:4830a752ecdff23c6590fb4d308f70b9$1@www.eclipse.org...
> Can anyone tell me if it is possible to provide global (as opposed to
> workspace scope) preferences in eclipse 3.3? [...]
> Previously I achieved this using the -plugincustomization argument but
> this was not very convenient.


AFAIK, -plugincustomization is still the only means. It sure would be nice
to have something more efficient.
Re: Global Preferences in 3.3? [message #321638 is a reply to message #321601] Tue, 23 October 2007 13:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: klammer.utanet.at

Miles Daffin schrieb:
> Folks,
>
> Can anyone tell me if it is possible to provide global (as opposed to
> workspace scope) preferences in eclipse 3.3? And by this I mean is it
> possible to configure an eclipse 3.3 install in such a way that each
> workspace starts out with the same set of defaults?
>
> Context: I am trying to create an install for my company that points to
> the right update policy and uses the 'right' code style etc. out of the
> box (no preferences import necessary). Previously I achieved this using
> the -plugincustomization argument but this was not very convenient. I
> had to configure my preferences, export them, and strip some stuff from
> the resulting epf which is then referenced by the above command line
> argument.
>
> Thanks,
>
> Miles
>

We are dealing with the same problem. For now there seems to be no
mature solution. What we are doing is to use the 'configuration' scope
as storage for global settings and copy them at startup over the
appropriate 'instance' settings.
If you can use an IPreferenceStore instance it should be possible to
configure the scope context to use the configuration scope for
preference lookups too.

Let me know if you find a more suitable solution.

claus
Re: Global Preferences in 3.3? [message #321687 is a reply to message #321638] Wed, 24 October 2007 10:35 Go to previous messageGo to next message
Miles Daffin is currently offline Miles DaffinFriend
Messages: 86
Registered: July 2009
Member
Claus Klammer wrote:

> We are dealing with the same problem. For now there seems to be no
> mature solution. What we are doing is to use the 'configuration' scope
> as storage for global settings and copy them at startup over the
> appropriate 'instance' settings.
> If you can use an IPreferenceStore instance it should be possible to
> configure the scope context to use the configuration scope for
> preference lookups too.

Claus - I am afraid I do not understand what you are doing. Please can you
explain your solution in more detail. (I think my solution may be more
simple-minded and manual, and I would like to improve it.)

Miles
Re: Global Preferences in 3.3? [message #321689 is a reply to message #321623] Wed, 24 October 2007 10:40 Go to previous messageGo to next message
Miles Daffin is currently offline Miles DaffinFriend
Messages: 86
Registered: July 2009
Member
I recall someone telling me, on this forum, that global preferences were
on the plan for 3.3. Ideally (I suppose) one would want the following
scopes:

1) Global - apply as defaults to all workspaces/projects
2) Workspace - apply as defaults for all projects in the workspace
3) Project - apply just to the project

In practice 1 & 2 would suffice.

Miles
Re: Global Preferences in 3.3? [message #321701 is a reply to message #321689] Wed, 24 October 2007 16:07 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse6.rizzoweb.com

Miles Daffin wrote:
> I recall someone telling me, on this forum, that global preferences were
> on the plan for 3.3. Ideally (I suppose) one would want the following
> scopes:
>
> 1) Global - apply as defaults to all workspaces/projects
> 2) Workspace - apply as defaults for all projects in the workspace
> 3) Project - apply just to the project
>
> In practice 1 & 2 would suffice.

2 and 3 are already provided. It is 1 that is not there yet.

Eric
Previous Topic:Using a ProgressMonitorDialog in a wizard
Next Topic:Problem with incremental project builder example
Goto Forum:
  


Current Time: Sat Aug 17 06:38:20 GMT 2024

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

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

Back to the top