On Thu, Oct 9, 2008 at 12:47 PM, Paul Barratt <noodle63_at_googlemail.com> wrote:
> I'm consistently getting 'commit failed' messages in Eclipse when in fact
> the commit does succeed.
>
> Background:
>
> I'm running Kubuntu 8.04 with Sun JRE 1.6.0_06-b02 and Eclipse version 3.4.1
> on my new laptop (the old one died last
> week - that worked without problems). My subversion server is version
> 1.4.5 running on Mandriva 2008, and I'm
> connecting to svn using the svn+ssh protocol.
> Eclipse is using SVNKit v1.2.0.4927. There is also a choice of 'JavaHL
> (JNI) Not Available' in the Eclipse prefs, which
> does not appear to make any difference to the situation. And despite
> Eclipse saying 'Not Available', it says I have
> 'Subversion Native Library Adapter (JavaHL) version 1.5.2.1' installed.
That is pretty normal if the native library is not available. See this:
http://desktop-eclipse.open.collab.net/wiki/JavaHL
> Description of problem:
>
> I do a fresh checkout of my project in Eclipse.
> I do 'update' and 'refresh' on a text file eg 'build.properties' (but all
> files have the same problem)
> The local file is at revision 1380
> I make a change and save the file
> The outgoing change shows up in the Team Synch perspective. I commit it.
> I get this message in the Eclipse SVN Console:
> ---------
> commit -m "testing" /home/paul/source/workspace/myproject/build.properties
> Sending /home/paul/source/workspace/myproject/build.properties
> Transmitting file data ...
> svn: Commit failed (details follow):
> svn: Commit failed (details follow):
> svn: <?\224 svn: Can't convert string from native encoding to 'UTF-8':
>
> ---------
> The character sequence '<?\224' is not present in the file.
> However, the commit has succeeded - I can checkout the change on a different
> PC using the svn command line and can also
> view it in Trac, see it in the SVN Repository perspective etc.
It sounds like a bug in SVNKit. I'd start by getting the latest
version from their update site. It appears to be 1.2.0.4949. Then
I'd report it to support_at_svnkit.com.
Of course you can also look at the Wiki I linked to for help on
getting JavaHL working.
--
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subclipse.tigris.org
For additional commands, e-mail: users-help_at_subclipse.tigris.org
Received on 2008-10-09 19:22:07 CEST