Hi Ron,
If you haven't seen it already, see the last post by Mark. What's at
the wiki page referred to, http://wiki.apache.org/cocoon/Installing,
suggests the problem is related to how one's Linux distro does the
installation of ant -- which would suggest it's up to the distro users to
fix it. If i can do that for SuSE (9.3), time permitting, will do and send
fix location to list. -- cheers, andi
On 8/20/05, Ron Wheeler <[EMAIL PROTECTED]> wrote:
> I ran into this problem as well. Can this not be fixed in some way so
> that it is part of cocoon or part of ant or not used.
>
> If not, is there some way to check for its existance higher up in the
> script and complain in a resaonable way.
>
> Ron
>
> JD Daniels wrote:
>
> > well heres a more useful reply...
> >
> > somewhere in your build is:
> >
> > <if>
> > <istrue value="${some.property}"/>
> > <then>
> > <dosomething/>
> > </then>
> > </if>
> >
> > You need the ant-contrib for the <if> to work.
> >
> > http://ant-contrib.sourceforge.net/
> >
> > JD
> >
> >
> > JD Daniels wrote:
> >
> >> sounds like you need to add the ant-contrib jar to your ant classpath
> >>
> >> JD
> >>
> >>
> >> AD Marshall wrote:
> >>
> >>> Can anyone suggest a solution or reference for the following issue?
> >>>
> >>> I'm repeatedly getting this message from cocoon's build.sh under
> >>> SuSE Linux 9.3:
> >>>
> >>> BUILD FAILED
> >>> /home/am/bin/cocoon-2.1.7/tools/targets/compile-build.xml:244: The
> >>> following error occurred while executing this line:
> >>> /home/am/bin/cocoon-2.1.7/build/cocoon-2.1.7/temp/blocks-build.xml:373:
> >>> Could not create task or type of type: if.
> >>>
> >>> (Umm, "if"?!? That's the weirdest error message i've seen to date.
> >>> Anyway...)
> >>>
> >>> I looked into the manual and blocks-build.xml (as build.sh's output
> >>> advises), but couldn't figure out what the problem is.
> >>>
> >>> Before running build.sh, i checked my JAVA_HOME and ANT_HOME (and
> >>> others) -- ant supposedly being part of my SuSE 9.3 installation:
> >>> $ env | grep _HOME
> >>> FORREST_HOME=/home/am/bin/apache-forrest-0.7
> >>> JRE_HOME=/usr/lib/jvm/java/jre
> >>> JAVA_HOME=/usr/lib/jvm/java
> >>> SDK_HOME=/usr/lib/jvm/java
> >>> JDK_HOME=/usr/lib/jvm/java
> >>>
> >>> I "unset FORREST_HOME" -- after noting cocoon included some "calls" to
> >>> forrest and fiddling with FORREST_HOME -- and tried again. Same
> >>> error.
> >>>
> >>> I've included the complete output from build.sh from my latest attempt
> >>> (below my eSig').
> >>>
> >>> Any suggestions?
> >>>
> >>> Thanks,
> >>> Andi
> >>>
> >>> PS: I don't have a regular Net connexion. So it might be day or two
> >>> before i see any replies. But i *will* get to any that come.
> >>>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
AD (Andi) Marshall
Cell: +84 (0)903871313
eM: [EMAIL PROTECTED]
Zone: ICT (IndoChina Time, GMT/UTC+7)
Post: HoChiMinh City (ex/or SaiGon), VietNam
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]