Suggestion for handling LF/CRLF EOL conversions.

Some files always need to have the same EOL, for example Windows .BAT
and .CMD  files always need CRLF. AFAIK, shell scripts always need LF.

For such files, set the appropriate svn:eol-style property, so
checkouts will always have the correct EOL. Yes, this may make
editting the files a bit awkward for some - tough.

For files that need to vary between releases - for example README.txt
- you can use an Ant patternset to process them. You can even check
whether the target archive is for the same EOL-style as the host, and
skip conversion for such cases.

Just a thought.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to