cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ron Wheeler <rwhee...@artifact-software.com>
Subject Re: BUILD FAILED: Could not create task... : if
Date Sat, 20 Aug 2005 14:46:40 GMT
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: users-unsubscribe@cocoon.apache.org
>> For additional commands, e-mail: users-help@cocoon.apache.org
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message