cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Newland" <chris.newl...@emorphia.com>
Subject RE: Cocoon2: ant problem
Date Tue, 14 Aug 2001 12:47:16 GMT
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: 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. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>
>
>



---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message