[prev in list] [next in list] [prev in thread] [next in thread]
List: ivy-user
Subject: Re: Generated ivy.xml line endings on windows
From: Raman Gupta <rocketraman () fastmail ! fm>
Date: 2009-02-13 5:25:29
Message-ID: 21990592.post () talk ! nabble ! com
[Download RAW message or body]
David Crossley wrote:
>
> Raman Gupta wrote:
> >
> > We have a project with mixed clients, linux and windows. Therefore we
> > have a
> > policy of svn:eol-style LF on our XML checkins to keep everything
> > consistent.
>
> We do it differently:
>
> 1) svn:eol-style native for all text files.
>
> [...snip...]
>
Thanks David. In fact, this is our exact policy for all text files except
for ivy*.xml. Why not ivy*.xml files? Because ivy*.xml files have md5 and/or
sha1 hashes associated with them by default. Since eol-style native checks
out files differently on windows and 'nix, the md5/sha1 sums are only
correct some of the time. Hence our decision to require eol-style LF for
ivy*.xml. However, as I described, even this does not work when the ivy file
is generated (via "deliver") on windows, since the md5/sha1 sums are
calculated based on inconsistent line endings. Our work-around for now is to
use svn:mime-type=application/octet-stream for ivy*.xml, which is silly, but
so far seems to work.
Cheers,
Raman
--
View this message in context: \
http://www.nabble.com/Generated-ivy.xml-line-endings-on-windows-tp21986779p21990592.html
Sent from the ivy-user mailing list archive at Nabble.com.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic