Fix all text files in source code to have consistent line feeds
---------------------------------------------------------------
Key: DNA-277
URL:
https://jira.jboss.org/jira/browse/DNA-277
Project: DNA
Issue Type: Task
Affects Versions: 0.3
Reporter: Randall Hauch
Assignee: Johnny Verhaeg
Priority: Minor
Fix For: 0.4
Currently, all of the text files in our source code have a mixture of carriage returns and
line feeds. And, our DNA preferences (for Eclipse) did not specify any special handling,
so each developer's settings were used (and likely were the default settings for the
platform). Regardless of the preference settings, however, Eclipse editors always keep
the line termination characters used in each particular file, so if a file was created on
Windows, it will have \r\n for all lines, even when that file is modified on Linux or OS
X. There are a few cases where a file seems to have a mixture of line terminations.
We should probably have a consistent line terminator in all files, and that terminator
should probably be '\n', which is the line terminator on *nix, for a couple of
reasons. First, the
JBoss.org SVN repository is hosted on Linux, and being consistent
probably helps somewhat. Second, some tools (including Git) rely upon the '\n'
character for determining line feeds, so that rules out the Mac style line feeds
('\r'). Third, there really is no need to store multiple characters.
We need to verify that the converting all files to use Unix line terminators is
acceptable. If so, we need to convert all of the files (that need it), update the Eclipse
preferences, and have all developers make sure their Eclipse preference settings are
correct.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira