[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[Subclipse-users] can't bind tasks/types

From: Justin Georgeson <JGeorgeson_at_lgc.com>
Date: Thu, 6 Oct 2011 13:51:01 -0500

In production we are using 1.2 with Ant 1.7, and I'm looking into testing 1.3.1. I put the jar files directly in my ${ANT_HOME}/lib and xmlns:svn="antlib:org.tigris.subversion.svnant" no longer works. I tried doing a fresh install of Ant 1.8.2, again installing the jar files directly in Ant's lib folder. Still doesn't work. So I tried using the typedef task like this

                <path id="svnant">
                        <fileset dir="${env.ANT_HOME}/lib">
                                <include name="svn*.jar"/>
                                <include name="jna.jar"/>
                        </fileset>
                </path>
                <typedef resource="org/tigris/subversion/svnant/svnantlib.xml" classpathref="svnant"/>

And it still doesn't work

/d01/sandboxes/jgeorgeson/test/build.xml:25: Problem: failed to create task or type antlib:org.tigris.subversion.svnant:svnSettings
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

This appears to be an antlib declaration.
Action: Check that the implementing library exists in one of:
        -/opt/apache-ant-1.8.2/lib
        -/home/filer1home/jgeorgeson/.ant/lib
        -a directory added on the command line with the -lib argument

----------------------------------------------------------------------
This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message.

------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2850461

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2011-10-06 20:53:03 CEST

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.