Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » .epf file format(Where is the Eclipse Prefereces File format documented?)
.epf file format [message #662599] Thu, 31 March 2011 05:24 Go to next message
Eclipse UserFriend
Hi all,

I've been having some troubles with modifying Eclipse Preferencs Files (*.epf) recently , and tried to look up documentation for them, but the only thing I could find were articles explaining how to import/export the preferences. Is the format really not documented at all?

Some of the questions I have are as follows:
- Does the order of statements matter?
- I found some duplicated lines in the file. What is the behaviour of Eclipse in such a case?
- What does an escaped exclamation mark mean in the following line: "\!/configuration/org.eclipse.core.net="
- What does @-sign mean in the following line: "@org.eclipse.pde.core=3.6.0.v20100601"

Kind regards,
Mikhail Kalkov

[Updated on: Thu, 31 March 2011 05:31] by Moderator

Re: .epf file format [message #662641 is a reply to message #662599] Thu, 31 March 2011 07:35 Go to previous messageGo to next message
Eclipse UserFriend
On 03/31/2011 05:24 AM, Mikhail wrote:
> Hi all,
>
> I've been having some troubles with modifying Eclipse Preferencs Files
> (*.epf) recently , and tried to look up documentation for them, but the
> only thing I could find were articles explaining how to import/export
> the preferences. Is the format really not documented at all?

It's not documented as it's an implementation detail. Unfortunately
that means you'll have to look through the reading/writing code to see
why it would write out \! ... I'd start in
org.eclipse.core.runtime.preferences.InstanceScope

You'd be better off if you wrote some code or a little headless app to
modify the preferences through the eclipse APIs.

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/workbench.htm
Re: .epf file format [message #663227 is a reply to message #662599] Mon, 04 April 2011 08:00 Go to previous message
Eclipse UserFriend
Ok, thanks Paul! I've solved my particular problem already but would still go and have a look at the source code you've talked about.

Just in case anybody wonders: the order of lines matter, and the lower lines overwrite the higher ones. What is more, some settings are not reflected in the existing Preferences window, and one has to press "Cancel" *after* loading a EPF file, and open the window again. Finally, a couple settings such as /configuration/org.eclipse.core.net/nonProxiedHosts are not applied until Eclipse is restarted.
Previous Topic:Multiple workspaces - one configuration
Next Topic:Get Reference of ToolItems from the Main ToolBar
Goto Forum:
  


Current Time: Fri Nov 07 08:32:11 EST 2025

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

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

Back to the top