You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@wookie.apache.org by Oguz Akyol <og...@gmail.com> on 2010/01/18 06:16:42 UTC

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
>


RE: Wookie Installation - BUILD FAILED - Revision 900278

Posted by Sander W G van der Waal <sa...@oucs.ox.ac.uk>.
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 Sander W G van der Waal <sa...@oucs.ox.ac.uk>.
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>.
On 18/01/2010 15:39, Scott Wilson wrote:
> On 18 Jan 2010, at 05:16, Oguz Akyol wrote:
>
>> 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.
>
>
> Hi Oguz,
>
> Looks like a problem loading the Ivy library.

Does your build machine have an active network connection?

Is it behind a proxy?

Please examine the output of the build for clues (post it here if it 
only serves to confuse).

Ross

Re: Wookie Installation - BUILD FAILED - Revision 900278

Posted by Scott Wilson <sc...@gmail.com>.
On 18 Jan 2010, at 05:16, Oguz Akyol wrote:

> 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.


Hi Oguz,

Looks like a problem loading the Ivy library. There could be a  
conflicting version around; try looking in your ~/ant/lib directory  
and deleting any "ivy.jar" you may find there, then try the build again.

Alternatively, you could try updating your version of Ant - I'm using  
v1.7.1.

S

>
> 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