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 cvs.apache.org 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. cocoon-2.1.3.zip, 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.

--David

> 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.
> 

Reply via email to