[dna-dev] Line feeds [Action Required]

Randall Hauch rhauch at redhat.com
Thu Apr 30 14:35:29 EDT 2009


We're wrapping up our final few issues targeted for the 0.4 release,  
and one of those (DNA-277) was to fix all of the line terminators in  
our files to be just LF.  If we don't use the same line terminators,  
performing diffs in some tools (including Git) consider the whole file  
to be changed.  This is something that quite a few other JBoss  
projects do, and it simply helps portability across our different  
development platforms and tools.  Most of the time, we probably won't  
even notice the difference.

We changed the Eclipse preferences back in January but were waiting  
until the end of a release cycle to change the files.  (Please make  
sure you're using these preferences and are using Unix-style line  
endings.)  There actually weren't too many files that needed to be  
fixed.  But there were some, and I just committed the corrections.

In addition to the Eclipse preferences, we can each modify our  
~/.subversion/config file to make the SVN command-line tool ensure  
each uploaded file has the proper line endings.  There is now a  
README_COMMITTERS.txt file under 'trunk/' that describes to make this  
change. I'm not sure if the Eclipse Team plugin for SVN automatically  
reads these settings, but you can go into Eclipse preferences (under  
Team->SVN->Properties Configuration) and import your config file.

Thanks for your cooperation.  Best regards,

Randall




More information about the dna-dev mailing list