From dev-return-10330-apmail-openjpa-dev-archive=openjpa.apache.org@openjpa.apache.org Wed Feb 04 21:03:09 2009 Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 47402 invoked from network); 4 Feb 2009 21:03:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Feb 2009 21:03:09 -0000 Received: (qmail 28305 invoked by uid 500); 4 Feb 2009 21:03:09 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 28137 invoked by uid 500); 4 Feb 2009 21:03:08 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 28126 invoked by uid 99); 4 Feb 2009 21:03:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Feb 2009 13:03:08 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of michael.d.dick@gmail.com designates 209.85.220.11 as permitted sender) Received: from [209.85.220.11] (HELO mail-fx0-f11.google.com) (209.85.220.11) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Feb 2009 21:03:02 +0000 Received: by fxm4 with SMTP id 4so3957486fxm.9 for ; Wed, 04 Feb 2009 13:02:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=kymTxSK4cSHHOoevFuCDl3u/iCz6I23MaAfN/0WCYJc=; b=x1OWOCfYQIUERMry6Z4MUKgqFYmVV4uYK/FjXTgzWRKtIREcXw20e2SJ3OE0tYVqoM XFY7rja+KIyKUKOi+Ubbaif2AD1127lGgkdpv0K+qDn6QSwML3N65H7MkL/7L7UQ2/Cl eAy2iLD9BH7ePfHyL5ZObl6W7wMY2TyE4PayQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=UwkGk+HfQRMnb6g8+HDH+1XIRe8MZwysnfeanIHjJxof3b6oZe2QyroMssaZ4rjjyc 4JN3HQDA9oxzCxtbSUVUJVzkUkG1mAJkvWfgwAvKEBdM0HviG8blSLTK2Fu229VMQWQd TKcGZWuNpR4rs1Nr5gACKEGDH5aNb72isM2Fs= MIME-Version: 1.0 Received: by 10.223.113.199 with SMTP id b7mr329511faq.83.1233781360233; Wed, 04 Feb 2009 13:02:40 -0800 (PST) In-Reply-To: <1820711210.1233774119672.JavaMail.jira@brutus> References: <104861739.1233765599720.JavaMail.jira@brutus> <1820711210.1233774119672.JavaMail.jira@brutus> Date: Wed, 4 Feb 2009 15:02:40 -0600 Message-ID: <72c1350f0902041302j52a4f02dgf4bf4b48daae275c@mail.gmail.com> Subject: Re: [jira] Updated: (OPENJPA-896) Several doc files include Windows EoL chars From: Michael Dick To: dev@openjpa.apache.org Content-Type: multipart/alternative; boundary=001636c597b8b50c5c04621e1b01 X-Virus-Checked: Checked by ClamAV on apache.org --001636c597b8b50c5c04621e1b01 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit This issue came up a few years ago while we were in the incubator. At the time (if memory serves) we decided not to fix existing code due to the noise on SVN. I'm happy to commit the changes Donald has graciously provided if folks agree the noise is acceptable, but I'd prefer to make sure since there's precedent against cleaning up eol chars. Any agreement / dissent to committing the patch? -mike On Wed, Feb 4, 2009 at 1:01 PM, Donald Woods (JIRA) wrote: > > [ > https://issues.apache.org/jira/browse/OPENJPA-896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel] > > Donald Woods updated OPENJPA-896: > --------------------------------- > > Attachment: OPENJPA-896-trunk.patch > > Patch file which removes the Windows Ctrl+M EOL chars. > For Windows users, you can use a program like SlickEdit to resave the files > in Unix format (and fix your svn config.) > For Unix/Linux users, use the "dos2unix *.xml" command. > For Mac users, you need to provide a dos2unix script that uses the tr > command - > {noformat} > #! /bin/sh > for x > do > echo "Converting $x" > tr -d '\015' < "$x" > "$x.tmp" > mv "$x.tmp" "$x" > done > {noformat} > > > Several doc files include Windows EoL chars > > ------------------------------------------- > > > > Key: OPENJPA-896 > > URL: https://issues.apache.org/jira/browse/OPENJPA-896 > > Project: OpenJPA > > Issue Type: Bug > > Components: docs > > Reporter: Donald Woods > > Priority: Trivial > > Fix For: 2.0.0 > > > > Attachments: OPENJPA-896-trunk.patch > > > > > > Several of the doc files include the Windows Ctrl+M chars at the end of > lines when checked out to non-Windows platforms (like MacOSX and Linux), due > to the committer not using the ASF suggested svn config values - > http://www.apache.org/dev/svn-eol-style.txt > > From http://www.apache.org/dev/version-control.html - > > Configuring the Subversion client > > Committers will need to properly configure their svn client. One > particular issue is OS-specific line-endings for text files. When you add a > new text file, especially when applying patches from Bugzilla, first ensure > that the line-endings are appropriate for your system, then do ... > > svn add test.txt > > svn propset svn:eol-style native test.txt > > Your svn client can be configured to do that automatically for some > common file types. Add the contents of the file > http://www.apache.org/dev/svn-eol-style.txt to your ~/.subversion/config > file. [Note: for Windows this is normally found at C:\Documents and > Settings\{username}\Application Data\Subversion\config] > > Some files may need additional properties to be set, for example > svn:executable=* should be applied to those script files (e.g. .bat, .cgi, > .cmd, .sh) that are intended to be executed. Since not all such files are > necessarily intended to be executed, the executable property should not be > made an automatic default. > > However, you should still pay attention to the messages from your svn > client when you do 'svn commit'. > > -- > This message is automatically generated by JIRA. > - > You can reply to this email to add a comment to the issue online. > > --001636c597b8b50c5c04621e1b01--