Re: contrib/benchmark - DOS line endings

2007-04-02 Thread Doron Cohen
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

Re: contrib/benchmark - DOS line endings

2007-04-02 Thread Otis Gospodnetic
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

Re: contrib/benchmark - DOS line endings

2007-04-02 Thread Doron Cohen
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?

RE: contrib/benchmark - DOS line endings

2007-04-02 Thread Steven Parkes
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