You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by Anthony Kitchin <an...@gmail.com> on 2006/12/27 19:56:56 UTC
^M in example files
Hi, I have previously been using the nightly builds but since the release
has come out I've thought to use that instead. I've been trying to setup
replication on the 1.1.0 release and was delayed because the
example/solr/conf/scripts.conf has ^M in it. And not being totally familiar
assumed that the ^M were normal. But after a little more investigation the
nightly builds that I'd previously used do not have these characters. And
when you try to login as 'solr-user^M' it gives some rather crypic error
messages and takes a while to debug. Hope this helps :-)
Re: ^M in example files
Posted by Yoav Shapira <yo...@apache.org>.
The ^M is a DOS (and now Windows) carriage return character. The fact
you're seeing it indicates an improper encoding, properly caused at
the last SVN commit for that file. The SVN way to deal with this is
to set the svn:eol-style native property, best done once and for good
in the SVN client configuration. See for example
http://wiki.apache.org/cocoon/SVNConfig or google for svn:eol-style
native.
Yoav
On 12/27/06, Anthony Kitchin <an...@gmail.com> wrote:
> Hi, I have previously been using the nightly builds but since the release
> has come out I've thought to use that instead. I've been trying to setup
> replication on the 1.1.0 release and was delayed because the
> example/solr/conf/scripts.conf has ^M in it. And not being totally familiar
> assumed that the ^M were normal. But after a little more investigation the
> nightly builds that I'd previously used do not have these characters. And
> when you try to login as 'solr-user^M' it gives some rather crypic error
> messages and takes a while to debug. Hope this helps :-)
>
>
Re: ^M in example files
Posted by Yonik Seeley <yo...@apache.org>.
On 12/27/06, Anthony Kitchin <an...@gmail.com> wrote:
> the 1.1.0 release and was delayed because the
> example/solr/conf/scripts.conf has ^M in it.
I just fixed this in the trunk by setting svn:eol-style to LF for this file.
Thanks for letting us know!
-Yonik