cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <>
Subject Re: whitespace cleanup and efficiency drive
Date Sat, 20 Dec 2003 04:11:06 GMT
Antonio Gallardo wrote: 
> David Crossley dijo:
> > Perhaps the Ant project has a corrupted CVS like our was.
> > They might have dos line-endings in their ant.bat etc.
> I thought .bat files must have line ending as DOS: 0x0D 0x0A
> And Linux files must have just 0x0A
> Is this correct?

No, not correct. On a UNIX system all files must have UNIX line-endings.
The machine is UNIX.

When someone on a windows machine does a cvs checkout, then their
cvs client would fix all line endings for them.

When someone downloads a distribution, e.g., then
they should find that all line-endings have been already converted
for them by the build script that made the distribution. If they
instead wrongly downloaded the cocoon-2.1.3.tar.gz then they would
have UNIX line-endings. If the build file does not handle the crlf
thing, then the release manager would need to build the .zip on
Windows and the .tar.gz on UNIX.


> The files in the ant distribution follow this. I think the files we had
> before does not follow this.
> But if our standard said all files need to be UNIX line ending style and
> we need UNIX line ending syle in DOS .bat files I will change them to UNIX
> line ending.
> Please answer, because I am confused about the original Vadim request.

View raw message