0

Eclipse Juno regularly resets all of its settings (.metadata). It starts from a clear desktop as if it was recently installed. So I need to restore .metadata once a week or two.

Why does it happen? Is it a known Eclipse problem?

UPDATED

This happens every time when I switch off second display.

Andrey Minogin
  • 4,521
  • 6
  • 38
  • 60

1 Answers1

0

Do not put .metadata itself under version control. Only put contents of the workspace (i.e. projects) under version control. By manipulating the .metadata directory during checkouts, you are essentially breaking the workspace yourself.

The metadata directory cannot be shared by design and this will lead to trouble. See What of Eclipse project .metadata can I safely ignore in Git/Mercurial? or Which Eclipse files belong under version control? for some more pointers about that.

Community
  • 1
  • 1
Bananeweizen
  • 21,797
  • 8
  • 68
  • 88
  • You wrote "need to restore .metadata". I was of the impression this relates to version control. Do you mean you restore a file backup? – Bananeweizen Apr 19 '13 at 09:40