RE: dos2unix file endings

Rez P <[email protected]>
Newsgroups gmane.comp.version-control.cvs.general
Message-ID <[email protected]>
Thanks for your help and suggestions Jim.  Since I check out from cvs and do my builds with Ant. I found the quickest solution through Ant by using: <fixcrlf srcdir="scripts" includes="**/*.sh, **/*.sql, **/*.conf" eol="lf" eof="remove" />.  It's a roundabout way to check out the files to windows machine from the linux server and then turn around and ship them back and deploy them on a linux server.  Unfortunately the users on the production servers don't have access to the cvs linux server and I have to package and deliver the files.  

 

Rez
 
> Date: Sat, 31 Oct 2009 00:48:56 -0400
> From: [email protected]
> To: [email protected]
> CC: [email protected]; [email protected]
> Subject: Re: dos2unix file endings
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Rez P wrote:
> > Thanks for your thorough reply Spiro. I suspected that they were
> > ending up with the correct file endings on each environment
> > respectively and that the wincvs client was converting them. So it
> > looks like once I check them out, I have to run dos2unix on them and
> > tar them up and ship them back to our application servers. thanks
> > again.
> 
> Hang on a sec - your original message didn't mention anything about tar.
> Is this something you do already, or something you're going to add into
> the mix? Can your application server check the files out directly, or
> run a commit script on the CVS server that'll tar and upload the files?
> That would save having to convert the line endings.
> 
> - --
> Jim Hyslop
> Dreampossible: Better software. Simply. http://www.dreampossible.ca
> Consulting * Mentoring * Training in
> C/C++ * OOD * SW Development & Practices * Version Management
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.8 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iEYEARECAAYFAkrrwbgACgkQLdDyDwyJw+NP4wCgsQXFI6fXYKnDpc7buBZnZRpu
> 8k4AoLMJ+zd85CFp5qPEhyZPGBDS9ur/
> =gTM8
> -----END PGP SIGNATURE-----
 		 	   		  
_________________________________________________________________
Hotmail: Trusted email with Microsoft's powerful SPAM protection.
http://clk.atdmt.com/GBL/go/177141664/direct/01/
http://clk.atdmt.com/GBL/go/177141664/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.