location of Eclipse configuration file

C

coltrane

can someone tell me where Eclipse maintains its configuration file.
If I customize my ide, such as custom keys, I would like to backup the
file.
I can't seem to find the file.
It's probably something simple like ThisIsTheConfigurationFile.xml :)

thanks

john
 
H

Hendrik Maryns

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message

coltrane schreef:
can someone tell me where Eclipse maintains its configuration file.
If I customize my ide, such as custom keys, I would like to backup the
file.
I can't seem to find the file.
It's probably something simple like ThisIsTheConfigurationFile.xml :)

There is a whole hidden directory in your workspace. On Linux, it is
..preferences, on Windows, I'm not sure.

For Eclipse related questions, see
news://news.eclipse.org:119/eclipse.newcomer

H.
--
Hendrik Maryns

==================
www.lieverleven.be
http://aouw.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFEGtg1e+7xMGD3itQRAnV+AJ0a1W9gUgT7AvYrFi482wN+s+vxGQCbBIPu
GgvnA1rj7P2Q8eGLHRgurBE=
=2Pm8
-----END PGP SIGNATURE-----
 
T

Thomas Fritsch

coltrane said:
can someone tell me where Eclipse maintains its configuration file.
If I customize my ide, such as custom keys, I would like to backup the
file.
I can't seem to find the file.
Maybe it is because Eclipse likes to use hidden files (file name beginning
with "."). On Unix/Linux use "ls -a" to see them.
It's probably something simple like ThisIsTheConfigurationFile.xml :)
It is not so simple :-(

Project-spanning overall-settings are stored in directories
<yourWorksapceDirectory>/.metadata/.plugins/<plugInName>/...

Project-specific configurations are stored in
<yourWorkspaceDirectory>/<yourProject>/.project
<yourWorkspaceDirectory>/<yourProject>/.classpath
and others.
 
H

Hendrik Maryns

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message

Hendrik Maryns schreef:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message

coltrane schreef:

There is a whole hidden directory in your workspace. On Linux, it is
.preferences, on Windows, I'm not sure.

/me knocks himself on the head after seeing the correct answer:

Of course, the directory is called .metadata, not .preferences.

H.
--
Hendrik Maryns

==================
www.lieverleven.be
http://aouw.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFEGuRGe+7xMGD3itQRAs0iAJoC5GqVF6HN9wV6L31BPvxNZOV29gCdHlOj
nYW4K9vcolpGYQCfJu1w7qE=
=yJL6
-----END PGP SIGNATURE-----
 
C

coltrane

thanks

I cannot believe the way these preferences are maintained!
Oh well, there is a reason for everything.

thanks again

john
 
J

James McGill

thanks

I cannot believe the way these preferences are maintained!
Oh well, there is a reason for everything.

thanks again

john

I spend a lot of time re-doing my workspace prefs for things like code
generation comments, and I've completely given up on customizing the
editor colors -- I'd really like to have a black background and bright
text for everything, but, I got sick of having to change it every time I
updated eclipse, and for every new workspace. And there are just too
many things in the GUI world that assume your background will be a light
color (white), and that it's okay to display dark things on the
foreground. I understand the whole "paper" idiom, but on a computer
display, I greatly prefer the low-energy state of a dark background.
But usually this is impossible, because somewhere, there's always
something hardcoded as a black foreground. Or, as is the case for
Eclipse, there are just too many different things that have to be
adjusted.
 
C

coltrane

the settings like to stay consistent are my key combinations and tab
settings

thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,588
Members
45,093
Latest member
Vinaykumarnevatia00

Latest Threads

Top