Cannot save preferences [message #245888] |
Fri, 18 January 2008 07:02  |
Eclipse User |
|
|
|
Originally posted by: evert.lammerts.gmail.com
A couple of days ago I created a workspace on a Samba share. The system I
work on has loads of Hungarian comments in it, which is saved on and off
in either UTF-8 or ISO-8859-2. This means that apart from setting the
encoding of the files at project / container level, I also need to set it
per file here and there.
However, whenever a setting needs to be written to
org.eclipse.core.resources.prefs, I get an error (Could not save encoding
settings. Exception occurred while saving project preferences:
/project/.settings/org.eclipse.core.resources.prefs).
Any idea what's causing this? I've set the permissions of the file to be
writable by everybody so that shouldn't cause the problem.
|
|
|
|
Re: Cannot save preferences [message #245939 is a reply to message #245888] |
Fri, 18 January 2008 15:26   |
Eclipse User |
|
|
|
Originally posted by: wharley.bea.com
"Evert" <evert.lammerts@gmail.com> wrote in message
news:db10cb74972d8bc8c65eb18baae68ac2$1@www.eclipse.org...
>A couple of days ago I created a workspace on a Samba share. The system I
>work on has loads of Hungarian comments in it, which is saved on and off in
>either UTF-8 or ISO-8859-2. This means that apart from setting the encoding
>of the files at project / container level, I also need to set it per file
>here and there.
>
> However, whenever a setting needs to be written to
> org.eclipse.core.resources.prefs, I get an error (Could not save encoding
> settings. Exception occurred while saving project preferences:
> /project/.settings/org.eclipse.core.resources.prefs).
>
> Any idea what's causing this? I've set the permissions of the file to be
> writable by everybody so that shouldn't cause the problem.
Just checking... by "the file" you do mean the
..settings/org.eclipse.core.resources.prefs file, as opposed to the file
whose encoding you're trying to specify, correct?
I see this problem happen often with "pessimistic" (locked by default)
version control systems such as Perforce, but it doesn't sound like you're
using any version control at all?
There are a couple of bugs in Bugzilla related to the way character
encodings are stored; you might want to just familiarize yourself with those
bugs, to understand some of the underlying issues, in case that helps
diagnose the problem for you.
|
|
|
|
Re: Cannot save preferences [message #246222 is a reply to message #246060] |
Mon, 21 January 2008 17:24  |
Eclipse User |
|
|
|
Originally posted by: wharley.bea.com
"Evert" <evert.lammerts@gmail.com> wrote in message
news:d86fbaad8df47299cfeaeb2a68fb308d$1@www.eclipse.org...
>I am using the Subclipse (SVN) plugin. Could that have anything to do with
>it?
It's possible. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=160905 for
some background on this issue.
If you can come up with a reproducible test case, it would probably be
appropriate to post a bug (to whomever is responsible for the SVN plug-in -
I think that's a third-party plug-in?)
By the way, what version of Eclipse are you encountering this on? You might
want to experiment with 3.4M4, since I think some bugs in this area were
recently addressed.
|
|
|
Powered by
FUDForum. Page generated in 1.08595 seconds