Otis Gospodnetic <[EMAIL PROTECTED]> wrote on 02/04/2007 16:35:42:
> Yeah, I was just wondering if there was a SVN-only trick to get that
> propset working. Anyhow, this did the trick:
>
> find . -name \*java -type f | xargs perl -pi -e 's/(\r\n|\n|\r)/\n/g'
> find . -name \*java -type f | xargs
y, April 2, 2007 7:14:59 PM
Subject: RE: contrib/benchmark - DOS line endings
I think you need to make the files consistent first, something like
dos2unix or unix2dos should do this, if they're available on your
machine.
-Original Message-
From: Otis Gospodnetic [mailto:[EMAIL PRO
Hi Otis,
LUCENE-814 discusses similar issues for javacc generated files.
Probably easiest fix would be "ant fixcrlf">
Otherwise, something like perl -p -e 's/(\r\n|\n|\r)/\n/g', (more in
http://en.wikipedia.org/wiki/Newline).
Do you get this error for the checked out file, or after modification?
I think you need to make the files consistent first, something like
dos2unix or unix2dos should do this, if they're available on your
machine.
-Original Message-
From: Otis Gospodnetic [mailto:[EMAIL PROTECTED]
Sent: Monday, April 02, 2007 3:47 PM
To: java-dev@lucene.apache.org
Subject: c