Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 15045 invoked from network); 7 May 2005 03:33:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 May 2005 03:33:04 -0000 Received: (qmail 49897 invoked by uid 500); 7 May 2005 03:35:55 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 49689 invoked by uid 500); 7 May 2005 03:35:53 -0000 Mailing-List: contact dev-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@forrest.apache.org Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 49674 invoked by uid 99); 7 May 2005 03:35:53 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from www2.kc.aoindustries.com (HELO www2.kc.aoindustries.com) (65.77.211.84) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 06 May 2005 20:35:53 -0700 Received: from www2.kc.aoindustries.com (www2.kc.aoindustries.com [65.77.211.84]) by www2.kc.aoindustries.com (8.12.9-20030917/8.12.9) with ESMTP id j473WxV8017431 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 6 May 2005 22:32:59 -0500 Received: from localhost (localhost [[UNIX: localhost]]) by www2.kc.aoindustries.com (8.12.9-20030917/8.12.9/Submit) id j473WwAo017397 for dev@forrest.apache.org; Fri, 6 May 2005 22:32:58 -0500 X-Authentication-Warning: www2.kc.aoindustries.com: indexgeo set sender to crossley@apache.org using -f Date: Sat, 7 May 2005 13:32:50 +1000 From: David Crossley To: dev@forrest.apache.org Subject: Re: SVN Inconsitent Line Endings Message-ID: <20050507033250.GF4535@igg.indexgeo.com.au> References: <41D826A1.8050805@apache.org> <41D8710B.4050607@apache.org> <20050505070812.GA2596@igg.indexgeo.com.au> <427B8641.7020705@apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <427B8641.7020705@apache.org> User-Agent: Mutt/1.4i X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Ross Gardler wrote: > David Crossley wrote: > > > >I presume that this does not happen when you do 'forrest' to > >build the plugin's docs, rather than doing 'ant docs'. > > I had also assumed that, however it turns our to be incorrect. > > In fact doing "forrest site" on any site, including site-author, results > in the same error. > > I can only assume that it has not raised it's head before because I have > not been the first person to commit generated sites to SVN with the eol > settings set to "native". Sorry, i can't parse that. Too many "nots". :-) All text files should have line-endings appropriate for the local system OS and should always be 'svn propset svn:eol-style native'. > Given the above observation that the XSL generated comments ahve > different line endings to other XSL generated files I can only assume it > is something to do with the XSLT parser. What happens when you do a simple test with Xalan on the commandline. > For now I have put a workaround in place in the buildfile (uses an ant > task to fix the line endings). I'll also place an issue on the issue > tracker to remind us of this. I saw that. However i couldn't understand why it was converting them to UNIX line-endings regardless of which OS the user is on. Do we need to detect the OS? I have not heard of this problem before. At Cocoon and Incubator, people on various operating systems generate the website and commit the result to SVN, with no problems. --David