Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 24913 invoked by uid 500); 14 Aug 2001 12:41:31 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 24894 invoked from network); 14 Aug 2001 12:41:29 -0000 From: "Chris Newland" To: , Subject: RE: Cocoon2: ant problem Date: Tue, 14 Aug 2001 13:47:16 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal In-Reply-To: <3B7917DE.AA0969DC@sun1.oulu.fi> X-Return-Path: chris.newland@emorphia.com X-MDaemon-Deliver-To: cocoon-users@xml.apache.org X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Hi, I had this problem too running the build script from the Cocoon2.0b2 distribution on SuSE 7.2, Sun JDK1.3.1 A solution that works for me is to edit the /bin/ant script and resave it and then it works fine. #! /bin/sh echo in ant script <--- Line that I added if [ -f "$HOME/.antrc" ] ; then . $HOME/.antrc fi ... HTH, Chris > -----Original Message----- > From: juffer@sun3.oulu.fi [mailto:juffer@sun3.oulu.fi]On Behalf Of Andre > Juffer > Sent: 14 August 2001 13:22 > To: Cocoon users > Subject: Cocoon2: ant problem > > > Hi All, > > I experience a somewhat perculiar problem when I try to install cocoon2 > on a Redhat Linux box. If I run build.sh, I get the following > > > Apache Cocoon 2 Build System > ---------------------------- > ./build.sh: /usr/local/xml-cocoon2/bin/ant: No such file or directory > > But, the /usr/local/xml-cocoon2/bin/ant certainly exists and also has > the right permissions: > > ls -l bin/ant gives: > > -rwxr--r-- 1 root sys 2936 Jul 23 12:25 bin/ant > > I remember that somebody else on this list had a similar problem, but I > could not find that message in the archive. So, I hope that one of you > can help me out. > > I have installed Cocoon2 earlier on Slackware with no problems at all, > so the aforementioned problem may be a Redhat thing. Tomcat and Java run > without any problem, Java is jdk1.3.1. Suspecting that it may be a bash > problem, I have made a build script based upon tcsh, but the result is > exactly the same. > > Thanks, > > -- > Andre H. Juffer | Phone: +358-8-553 1683 > The Biocenter and | Fax: +358-8-553-1141 > the Dep. of Biochemistry | Email: Andre.Juffer@oulu.fi > University of Oulu, Finland | WWW: > http://www.biochem.oulu.fi/research.html > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. > > To unsubscribe, e-mail: > For additional commands, e-mail: > > > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: