Return-Path: Delivered-To: apmail-incubator-geronimo-dev-archive@www.apache.org Received: (qmail 97037 invoked from network); 31 Aug 2003 12:26:24 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 31 Aug 2003 12:26:24 -0000 Received: (qmail 41118 invoked by uid 500); 31 Aug 2003 12:26:11 -0000 Delivered-To: apmail-incubator-geronimo-dev-archive@incubator.apache.org Received: (qmail 41068 invoked by uid 500); 31 Aug 2003 12:26:10 -0000 Mailing-List: contact geronimo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: geronimo-dev@incubator.apache.org Delivered-To: mailing list geronimo-dev@incubator.apache.org Received: (qmail 41048 invoked from network); 31 Aug 2003 12:26:10 -0000 Received: from unknown (HELO smtp.abyssworld.de) (80.138.180.109) by daedalus.apache.org with SMTP; 31 Aug 2003 12:26:10 -0000 Received: by smtp.abyssworld.de (Postfix, from userid 426) id 629FB1CF2C; Sun, 31 Aug 2003 14:25:40 +0200 (CEST) Received: from daniel.stefan.haischt.name (unknown [192.168.120.47]) by smtp.abyssworld.de (Postfix) with ESMTP id 202651CEC1 for ; Sun, 31 Aug 2003 14:25:38 +0200 (CEST) Message-ID: <3F51E7A7.2060602@daniel.stefan.haischt.name> Date: Sun, 31 Aug 2003 14:18:47 +0200 From: "Daniel S. Haischt" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030723 Thunderbird/0.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: geronimo-dev@incubator.apache.org Subject: Re: CR/LF cleansing References: <030201c36e54$53c7ff30$457041db@siva> <3F4FD374.6020408@paneris.org> In-Reply-To: <3F4FD374.6020408@paneris.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Jim Wright wrote: [...] > Sounds like we need a line in CVSROOT/commitinfo. really? the CRLF (M$ Windows) vs. LF (UNIX) isn't that chalenging (at least for professional developers). see Bill de h�ra's blog entry [1] or a CVS discussion on livejournal.com [2]. my bet is that some of you are using cygwin and during install they checked the 'UNIX text file type' option instead of the 'DOS text file type' option, which causes cygwin to mount your drives in binmode instead of textmode. so the possible solutions would be ... a) mount your drives in textmode b) get a _real_ UNIX/Linux system c) use WinCVS instead of the cygwin comand line cvs binary. regards daniel s. haischt -- [1] http://www.dehora.net/journal/archives/000330.html [2] http://www.livejournal.com/users/aegisknight/63356.html > > Something like: > > org/apache/geronimo/* $CVSROOT/CVSROOT/checkJava > > where CVSROOT/checkJava is something like this: > > ---------cut here---------- > #!/bin/bash > > dir=$1 > shift > > function checkAJavaFile { > # need something here > } > > exitStatus=0 > while [ $# -gt 0 ]; do > file="$1"; > shift; > case "$file" in > *.java) > if ! checkAJavaFile $file; then > echo "Please run cleanse-sources target on $file" 1>&2; > fi; > ;; > esac; > done > exit $exitStatus > ---------cut here----------- > > This also needs debugging. Please ask if you agree in principle > and need more help. > > Jim Wright >