Many of the examples are using bare CR's for line endings, which makes many editors (such as vi and emacs) quite unhappy. I imagine they're checked into CVS as binary, when they should be text. CVS will translate line endings appropriately if they're checked in as text.
The list of files that have these bare-CR line endings is pretty long, but can be found with grep -rlP '\r$' jboss-seam
(assuming your grep is capable of -P, i.e. not ubuntu)