Home > tech > OS X Could not load definitions from resource org/tigris/subversion/svnant/svnantlib.xml Resolved

OS X Could not load definitions from resource org/tigris/subversion/svnant/svnantlib.xml Resolved

I had this irritating problem running ANT with SVN on my Mac lately. The ANT files worked fine under ubuntu but under OS X I got this pesky error:

Problem: failed to create task or type svn
Cause: The name is undefined.

The line causing the problem is here

<typedef resource="org/tigris/subversion/svnant/svnantlib.xml"
classpathref="project.classpath"  />

Running the task again with the -debug flag yeided this tidbit

Could not load definitions from resource 
org/apache/tools/ant/antlib.xml. 
It could not be found.

I resolved this problem by uprgrading SVN on my machine to 1.5.5 and downloading the latest SVN ANT Jars 1.2.2 from http://subclipse.tigris.org/svnant.html

ben tech

  1. Haritha
    January 13th, 2010 at 06:27 | #1

    Thanks ..this did fix the problem :)