You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by Sander W G van der Waal <sa...@oucs.ox.ac.uk> on 2010/02/08 18:52:34 UTC

RE: Wookie Installation - BUILD FAILED - Revision 900278

Hi Oguz,

I had the same problem on a Centos machine that had 'yummed in' 
Ant (Package ant-1.6.5-2jpp.2.i386 already installed and latest version). 

Problem is when running 'ant run' it failed on the task 'deploy-webapp'
with the message:
'BUILD FAILED
/usr/local/src/wookie/ant/ivy-webapp-common.xml:35: Could not create task or type of type: antlib:fr.jayasoft.ivy.ant:cachepath.

Ant could not find the task or a class this task relies upon.'

I could fix this by editing the file ant/ivy-webapp-common.xml, basically:
-<project xmlns:ivy="antlib:fr.jayasoft.ivy.ant">
+<project xmlns:ivy="antlib:org.apache.ivy.ant">

which is the patch attached to this mail (sorry for cross-posting).

Apparently Ivy now assumes Apache package names by default.
This also worked fine on my WinXP machine, but I did not test it
thoroughly.
I hope this will work for you as well.

Sander
________________________________

	From: Oguz Akyol [mailto:oguzakyol@gmail.com] 
	Sent: 18 January 2010 05:17
	To: wookie-user@incubator.apache.org
	Subject: Wookie Installation - BUILD FAILED - Revision 900278
	
	
	Hi,
	 
	I was wondering if anyone can help me with the problem I am having with the most recent version [Revision 900278: /incubator/wookie/trunk]. 
	 
	I am trying to use Tomcat + Mysql installation on SuSE 11.2.
	 
	Thank you in advance.
	 
	BUILD FAILED
	/root/wookie/trunk/ant/ivy-webapp-common.xml:35: Problem: failed to create task or type antlib:fr.jayasoft.ivy.ant:cachepath
	Cause: The name is undefined.
	Action: Check the spelling.
	Action: Check that any custom tasks/types have been declared.
	Action: Check that any <presetdef>/<macrodef> declarations have taken place.
	No types or tasks have been defined in this namespace yet
	
	Best regards,

	-- 
	Oguz


Re: Wookie Installation - BUILD FAILED - Revision 900278

Posted by Ross Gardler <rg...@apache.org>.
[Please avoid top posting, it makes it hard to read archives and follow 
context - comments inline]

On 08/02/2010 17:52, Sander W G van der Waal wrote:
> I could fix this by editing the file ant/ivy-webapp-common.xml, basically:
> -<project xmlns:ivy="antlib:fr.jayasoft.ivy.ant">
> +<project xmlns:ivy="antlib:org.apache.ivy.ant">

Thanks. the other ivy files already use this namespace, not sure why 
this one didn't. I've applied you patch. Thank you.

Ross


>
> which is the patch attached to this mail (sorry for cross-posting).
>
> Apparently Ivy now assumes Apache package names by default.
> This also worked fine on my WinXP machine, but I did not test it
> thoroughly.
> I hope this will work for you as well.
>
> Sander
> ________________________________
>
> 	From: Oguz Akyol [mailto:oguzakyol@gmail.com]
> 	Sent: 18 January 2010 05:17
> 	To: wookie-user@incubator.apache.org
> 	Subject: Wookie Installation - BUILD FAILED - Revision 900278
> 	
> 	
> 	Hi,
> 	
> 	I was wondering if anyone can help me with the problem I am having with the most recent version [Revision 900278: /incubator/wookie/trunk].
> 	
> 	I am trying to use Tomcat + Mysql installation on SuSE 11.2.
> 	
> 	Thank you in advance.
> 	
> 	BUILD FAILED
> 	/root/wookie/trunk/ant/ivy-webapp-common.xml:35: Problem: failed to create task or type antlib:fr.jayasoft.ivy.ant:cachepath
> 	Cause: The name is undefined.
> 	Action: Check the spelling.
> 	Action: Check that any custom tasks/types have been declared.
> 	Action: Check that any<presetdef>/<macrodef>  declarations have taken place.
> 	No types or tasks have been defined in this namespace yet
> 	
> 	Best regards,
>
> 	--
> 	Oguz
>


Re: Wookie Installation - BUILD FAILED - Revision 900278

Posted by Ross Gardler <rg...@apache.org>.
[Please avoid top posting, it makes it hard to read archives and follow 
context - comments inline]

On 08/02/2010 17:52, Sander W G van der Waal wrote:
> I could fix this by editing the file ant/ivy-webapp-common.xml, basically:
> -<project xmlns:ivy="antlib:fr.jayasoft.ivy.ant">
> +<project xmlns:ivy="antlib:org.apache.ivy.ant">

Thanks. the other ivy files already use this namespace, not sure why 
this one didn't. I've applied you patch. Thank you.

Ross


>
> which is the patch attached to this mail (sorry for cross-posting).
>
> Apparently Ivy now assumes Apache package names by default.
> This also worked fine on my WinXP machine, but I did not test it
> thoroughly.
> I hope this will work for you as well.
>
> Sander
> ________________________________
>
> 	From: Oguz Akyol [mailto:oguzakyol@gmail.com]
> 	Sent: 18 January 2010 05:17
> 	To: wookie-user@incubator.apache.org
> 	Subject: Wookie Installation - BUILD FAILED - Revision 900278
> 	
> 	
> 	Hi,
> 	
> 	I was wondering if anyone can help me with the problem I am having with the most recent version [Revision 900278: /incubator/wookie/trunk].
> 	
> 	I am trying to use Tomcat + Mysql installation on SuSE 11.2.
> 	
> 	Thank you in advance.
> 	
> 	BUILD FAILED
> 	/root/wookie/trunk/ant/ivy-webapp-common.xml:35: Problem: failed to create task or type antlib:fr.jayasoft.ivy.ant:cachepath
> 	Cause: The name is undefined.
> 	Action: Check the spelling.
> 	Action: Check that any custom tasks/types have been declared.
> 	Action: Check that any<presetdef>/<macrodef>  declarations have taken place.
> 	No types or tasks have been defined in this namespace yet
> 	
> 	Best regards,
>
> 	--
> 	Oguz
>