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 <Cocoon>/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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]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: [EMAIL PROTECTED]
> 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. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>
>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>