lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doron Cohen <DOR...@il.ibm.com>
Subject Re: contrib/benchmark - DOS line endings
Date Mon, 02 Apr 2007 23:13:50 GMT
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?

Regards,
Doron



                                                                           
             Otis Gospodnetic                                              
             <otis_gospodnetic                                             
             @yahoo.com>                                                To 
                                       java-dev@lucene.apache.org          
             02/04/2007 15:46                                           cc 
                                                                           
                                                                   Subject 
             Please respond to         contrib/benchmark - DOS line        
             java-dev@lucene.a         endings                             
                 pache.org                                                 
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




I noticed some contrib/benchmark files have DOS-style line endings.  Tried
this, but failed:

$ svn propset svn:eol-style native
./src/java/org/apache/lucene/benchmark/byTask/tasks/SearchTravTask.java
subversion/libsvn_wc/props.c:1460: (apr_err=200009)
svn: File
'src/java/org/apache/lucene/benchmark/byTask/tasks/SearchTravTask.java' has
inconsistent newlines
subversion/libsvn_subr/subst.c:643: (apr_err=135000)
svn: Inconsistent line ending style


If anyone knows a SVN way of fixing this, I'm all eyes!

Otis
 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Simpy -- http://www.simpy.com/  -  Tag  -  Search  -  Share



---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message