From cocoon-dev-return-41359-apmail-xml-cocoon-dev-archive=xml.apache.org@xml.apache.org Mon May 05 08:45:11 2003 Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 75388 invoked by uid 500); 5 May 2003 08:45:09 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 75373 invoked from network); 5 May 2003 08:45:09 -0000 Received: from main.gmane.org (80.91.224.249) by daedalus.apache.org with SMTP; 5 May 2003 08:45:09 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19CbVY-0004J1-00 for ; Mon, 05 May 2003 10:39:36 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: cocoon-dev@xml.apache.org Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19CbQ8-00042P-00 for ; Mon, 05 May 2003 10:34:00 +0200 From: Martin Holz Subject: Re: defects in M1 Date: 05 May 2003 10:35:15 +0200 Lines: 56 Message-ID: <83vfwpn64c.fsf@bog.darkzone.fiz-chemie.de> References: <6BBD0CF9-7BC4-11D7-90E0-0003935AD2EE@media.demon.co.uk> <1051789043.24412.64.camel@yum.ot> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Complaints-To: usenet@main.gmane.org Cc: holz@fiz-chemie.de User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Portable Code) Sender: news X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Bruno Dumon writes: > On Thu, 2003-05-01 at 13:02, Jeremy Quinn wrote: > > Hi All, > > > > I just noticed a couple of defects in the new M1 distribution: > > > > 1) *.sh do not have their executable bit set. > > > > 2) INSTALL.txt has no "Step 2" describing how to compile. > > > > 3) Go: cd [Cocoon dist] > > ./build.sh webapp > > > > And you get: > > > > Apache Cocoon Build System > > -------------------------- > > : bad interpreter: No such file or directorys/bin/ant: /bin/sh > > > > I am running: MacOSX 10.2.5 + JVM 1.4.1_01 > > I have tried it on two different systems, on with Ant Binary on the > > $PATH and one without, both have the same problem. > > I'm having the same problem on Linux. Solved it by changing the file > format (of the tools/bin/ant file) from dos to unix line endings. > > All text files in the tar download are in DOS format, and the build.sh > and tools/bin/ant files don't have their executable flags set, so the > tar file was probably not created on a unix system. Carsten? > Would it help to change the *.sh to binary in cvs, e.g. cvs admin -kb cocoon.sh and corresponind changes in cvswrappers? You don't want to change this files on a Windows system anyway. But I don't know, if this would cause problems to cygwin. If you also change $PWD/tools/bin/ant -logger ... in build.sh to /bin/sh $PWD/tools/bin/ant -logger ... the permission problem would go away too. -- Martin Holz Softwareentwicklung / Vernetztes Studium - Chemie FIZ CHEMIE Berlin Franklinstrasse 11 D-10587 Berlin