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:[email protected]]
Sent: 18 January 2010 05:17
To: [email protected]
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
Index: ant/ivy-webapp-common.xml
===================================================================
--- ant/ivy-webapp-common.xml (revision 906857)
+++ ant/ivy-webapp-common.xml (working copy)
@@ -15,7 +15,7 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<project xmlns:ivy="antlib:fr.jayasoft.ivy.ant">
+<project xmlns:ivy="antlib:org.apache.ivy.ant">
<property name="project.webapp.dir" location="WebContent" />