You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Ke...@itec.mail.suny.edu on 2005/03/27 18:59:58 UTC

Build Error: (could not create task or type: if)

Hello,
  I'm running Linux RHAS 3.0, java 1.4.2_07 trying to build cocoon 2.1.7. 
I am using the Ant that is included in the tar from the cocoon download. 
When I run:  ./build.sh webapp, I get the following error:
compile:

prepare-blocks:
     [copy] Copying 1 file to 
/home/oracle/cocoon-2.1.7/build/cocoon-2.1.7/temp
     [xslt] Processing 
/home/oracle/cocoon-2.1.7/build/cocoon-2.1.7/temp/gump.xml to 
/home/oracle/cocoon-2.1.7/build/cocoon-2.1.7/temp/blocks-build.xml
     [xslt] Loading stylesheet 
/home/oracle/cocoon-2.1.7/tools/src/blocks-build.xsl

blocks:

init:

unstable:

BUILD FAILED
/home/oracle/cocoon-2.1.7/tools/targets/compile-build.xml:244: The 
following error occurred while executing this line:
/home/oracle/cocoon-2.1.7/build/cocoon-2.1.7/temp/blocks-build.xml:373: 
Could not create task or type of type: if.

Ant could not find the task or a class this task relies upon.
----------------------
Any help would be greatly appreciated. Thanks in advance!


Kelly S. Brace
Information Technology Exchange Center
Twin Rise 200
1300 Elmwood Avenue
Buffalo, NY 14222
http://www.itec.suny.edu

Main: 716-878-4832
Fax: 716-878-3485
Office: 716-878-3895
Cell: 716-432-4978
Kelly.Brace@itec.suny.edu

Re: Build Error: (could not create task or type: if)

Posted by Ke...@itec.mail.suny.edu.
Antonio,
  Thanks, that did the trick!
Kelly


Kelly S. Brace
Information Technology Exchange Center
Twin Rise 200
1300 Elmwood Avenue
Buffalo, NY 14222
http://www.itec.suny.edu

Main: 716-878-4832
Fax: 716-878-3485
Office: 716-878-3895
Cell: 716-432-4978
Kelly.Brace@itec.suny.edu




"Antonio Gallardo" <ag...@agssa.net> 
03/27/2005 07:27 PM
Please respond to
users@cocoon.apache.org


To
users@cocoon.apache.org
cc

Subject
Re: Build Error: (could not create task or type: if)






Please see:

http://wiki.apache.org/cocoon/Installing

Best Regards,

Antonio Gallardo

On Dom, 27 de Marzo de 2005, 10:59, Kelly.Brace@itec.mail.suny.edu dijo:
> Hello,
>   I'm running Linux RHAS 3.0, java 1.4.2_07 trying to build cocoon 
2.1.7.
> I am using the Ant that is included in the tar from the cocoon download.
> When I run:  ./build.sh webapp, I get the following error:
> compile:
>
> prepare-blocks:
>      [copy] Copying 1 file to
> /home/oracle/cocoon-2.1.7/build/cocoon-2.1.7/temp
>      [xslt] Processing
> /home/oracle/cocoon-2.1.7/build/cocoon-2.1.7/temp/gump.xml to
> /home/oracle/cocoon-2.1.7/build/cocoon-2.1.7/temp/blocks-build.xml
>      [xslt] Loading stylesheet
> /home/oracle/cocoon-2.1.7/tools/src/blocks-build.xsl
>
> blocks:
>
> init:
>
> unstable:
>
> BUILD FAILED
> /home/oracle/cocoon-2.1.7/tools/targets/compile-build.xml:244: The
> following error occurred while executing this line:
> /home/oracle/cocoon-2.1.7/build/cocoon-2.1.7/temp/blocks-build.xml:373:
> Could not create task or type of type: if.
>
> Ant could not find the task or a class this task relies upon.
> ----------------------
> Any help would be greatly appreciated. Thanks in advance!
>
>
> Kelly S. Brace
> Information Technology Exchange Center
> Twin Rise 200
> 1300 Elmwood Avenue
> Buffalo, NY 14222
> http://www.itec.suny.edu
>
> Main: 716-878-4832
> Fax: 716-878-3485
> Office: 716-878-3895
> Cell: 716-432-4978
> Kelly.Brace@itec.suny.edu
>


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


Re: Build Error: (could not create task or type: if)

Posted by Antonio Gallardo <ag...@agssa.net>.
Please see:

http://wiki.apache.org/cocoon/Installing

Best Regards,

Antonio Gallardo

On Dom, 27 de Marzo de 2005, 10:59, Kelly.Brace@itec.mail.suny.edu dijo:
> Hello,
>   I'm running Linux RHAS 3.0, java 1.4.2_07 trying to build cocoon 2.1.7.
> I am using the Ant that is included in the tar from the cocoon download.
> When I run:  ./build.sh webapp, I get the following error:
> compile:
>
> prepare-blocks:
>      [copy] Copying 1 file to
> /home/oracle/cocoon-2.1.7/build/cocoon-2.1.7/temp
>      [xslt] Processing
> /home/oracle/cocoon-2.1.7/build/cocoon-2.1.7/temp/gump.xml to
> /home/oracle/cocoon-2.1.7/build/cocoon-2.1.7/temp/blocks-build.xml
>      [xslt] Loading stylesheet
> /home/oracle/cocoon-2.1.7/tools/src/blocks-build.xsl
>
> blocks:
>
> init:
>
> unstable:
>
> BUILD FAILED
> /home/oracle/cocoon-2.1.7/tools/targets/compile-build.xml:244: The
> following error occurred while executing this line:
> /home/oracle/cocoon-2.1.7/build/cocoon-2.1.7/temp/blocks-build.xml:373:
> Could not create task or type of type: if.
>
> Ant could not find the task or a class this task relies upon.
> ----------------------
> Any help would be greatly appreciated. Thanks in advance!
>
>
> Kelly S. Brace
> Information Technology Exchange Center
> Twin Rise 200
> 1300 Elmwood Avenue
> Buffalo, NY 14222
> http://www.itec.suny.edu
>
> Main: 716-878-4832
> Fax: 716-878-3485
> Office: 716-878-3895
> Cell: 716-432-4978
> Kelly.Brace@itec.suny.edu
>


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