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]

Reply via email to