| Export/Import preferences seems really limited [message #308525] |
Wed, 27 September 2006 07:02  |
Eclipse User |
|
|
|
Originally posted by: miles.daffin.morganstanely.com
Dear All,
I want to create a preconfigured build of eclipse for my company. There
are 2 parts: 1, install a list of additonal features; 2, configure the
install via Window-->Prefs.
Adding features to the base install is easy using the standalone updater.
But can anyone tell me how I can produce an install that contains all the
preferences I have set, which includes edits to most common sections in
the preferences (e.g. General->Always run in the background and
Java=->Code style->Formatter) plus those for the new features.
I just spent 2o minutes configuring a customised 3.2 instance, then I
attempted to export the prefs. All I could see in the list was Installed
JREs and something called Keys preferences. I then took an unconfigured
instance and imported these prefs back into it. Imagine my surprise when I
saw that none of the preferences I had set (e.g. Java code templates) had
been imported.
I need to be able to export and import *all* prefs. I need a new install
of 3.2 to work with my prefs out of the box. How can I do this?
TIA,
Miles
|
|
|
| Re: Export/Import preferences seems really limited [message #308526 is a reply to message #308525] |
Wed, 27 September 2006 07:38   |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
This is a multi-part message in MIME format.
--------------070709000600060405000307
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
Miles,
I've done this and the formatter preferences are exported properly and
they do import properly too, e.g.,
#Wed Sep 27 07:37:37 EDT 2006
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.formatte r.comment.indent_parameter_description=true
Are you sure you are asking to export all preferences in the export
dialog? Are you sure you saved your customized formatter preferences
when you were making those changes?
Miles Daffin wrote:
> Dear All,
>
> I want to create a preconfigured build of eclipse for my company.
> There are 2 parts: 1, install a list of additonal features; 2,
> configure the install via Window-->Prefs.
> Adding features to the base install is easy using the standalone
> updater. But can anyone tell me how I can produce an install that
> contains all the preferences I have set, which includes edits to most
> common sections in the preferences (e.g. General->Always run in the
> background and Java=->Code style->Formatter) plus those for the new
> features.
>
> I just spent 2o minutes configuring a customised 3.2 instance, then I
> attempted to export the prefs. All I could see in the list was
> Installed JREs and something called Keys preferences. I then took an
> unconfigured instance and imported these prefs back into it. Imagine
> my surprise when I saw that none of the preferences I had set (e.g.
> Java code templates) had been imported.
> I need to be able to export and import *all* prefs. I need a new
> install of 3.2 to work with my prefs out of the box. How can I do this?
>
> TIA,
>
> Miles
>
--------------070709000600060405000307
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Miles,<br>
<br>
I've done this and the formatter preferences are exported properly and
they do import properly too, e.g.,<br>
<blockquote>#Wed Sep 27 07:37:37 EDT 2006<br>
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.formatte r.comment.indent_parameter_description=true <br>
</blockquote>
Are you sure you are asking to export all preferences in the export
dialog?
|
|
|
| Re: Export/Import preferences seems really limited [message #308529 is a reply to message #308526] |
Wed, 27 September 2006 09:24   |
Eclipse User |
|
|
|
Originally posted by: miles.daffin.morganstanely.com
Ed,
I thought I had, but I tried again and made sure. This time it seemed to
work, apart from the keepresident plugin. But I guess that this is because
it does not implement the right interface.
Do you know if it is possible to do a headless import of preferences, so
that I can build the entire install using ant rather than having to fire
up the ide?
Miles
Ed Merks wrote:
> Miles,
> I've done this and the formatter preferences are exported properly and
> they do import properly too, e.g.,
> #Wed Sep 27 07:37:37 EDT 2006
>
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.formatte r.comment.indent_parameter_description=true
> Are you sure you are asking to export all preferences in the export
> dialog? Are you sure you saved your customized formatter preferences
> when you were making those changes?
> Miles Daffin wrote:
>> Dear All,
>>
>> I want to create a preconfigured build of eclipse for my company.
>> There are 2 parts: 1, install a list of additonal features; 2,
>> configure the install via Window-->Prefs.
>> Adding features to the base install is easy using the standalone
>> updater. But can anyone tell me how I can produce an install that
>> contains all the preferences I have set, which includes edits to most
>> common sections in the preferences (e.g. General->Always run in the
>> background and Java=->Code style->Formatter) plus those for the new
>> features.
>>
>> I just spent 2o minutes configuring a customised 3.2 instance, then I
>> attempted to export the prefs. All I could see in the list was
>> Installed JREs and something called Keys preferences. I then took an
>> unconfigured instance and imported these prefs back into it. Imagine
>> my surprise when I saw that none of the preferences I had set (e.g.
>> Java code templates) had been imported.
>> I need to be able to export and import *all* prefs. I need a new
>> install of 3.2 to work with my prefs out of the box. How can I do this?
>>
>> TIA,
>>
>> Miles
>>
|
|
|
| Re: Export/Import preferences seems really limited [message #308566 is a reply to message #308529] |
Thu, 28 September 2006 07:25  |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Miles,
I don't know how to do headless import. I'd find out by hunting for the
code that does it via the dialog and seeing if it has reusable parts...
Miles Daffin wrote:
> Ed,
>
> I thought I had, but I tried again and made sure. This time it seemed
> to work, apart from the keepresident plugin. But I guess that this is
> because it does not implement the right interface.
>
> Do you know if it is possible to do a headless import of preferences,
> so that I can build the entire install using ant rather than having to
> fire up the ide?
>
> Miles
>
> Ed Merks wrote:
>
>> Miles,
>
>> I've done this and the formatter preferences are exported properly
>> and they do import properly too, e.g.,
>
>> #Wed Sep 27 07:37:37 EDT 2006
>>
> /instance/org.eclipse.jdt.core/org.eclipse.jdt.core.formatte r.comment.indent_parameter_description=true
>
>
>> Are you sure you are asking to export all preferences in the export
>> dialog? Are you sure you saved your customized formatter preferences
>> when you were making those changes?
>
>
>> Miles Daffin wrote:
>
>>> Dear All,
>>>
>>> I want to create a preconfigured build of eclipse for my company.
>>> There are 2 parts: 1, install a list of additonal features; 2,
>>> configure the install via Window-->Prefs.
>>> Adding features to the base install is easy using the standalone
>>> updater. But can anyone tell me how I can produce an install that
>>> contains all the preferences I have set, which includes edits to
>>> most common sections in the preferences (e.g. General->Always run in
>>> the background and Java=->Code style->Formatter) plus those for the
>>> new features.
>>>
>>> I just spent 2o minutes configuring a customised 3.2 instance, then
>>> I attempted to export the prefs. All I could see in the list was
>>> Installed JREs and something called Keys preferences. I then took an
>>> unconfigured instance and imported these prefs back into it. Imagine
>>> my surprise when I saw that none of the preferences I had set (e.g.
>>> Java code templates) had been imported.
>>> I need to be able to export and import *all* prefs. I need a new
>>> install of 3.2 to work with my prefs out of the box. How can I do this?
>>>
>>> TIA,
>>>
>>> Miles
>>>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.05308 seconds