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

[Subclipse-users] Eclipse + Ant + Svn

From: Aurélien Baudet <aurelien.baudet_at_gmail.com>
Date: Tue, 23 Jun 2009 09:31:34 -0700 (PDT)

Hello,

I am trying to launch a svn command from ant in Eclipse. I have this error:
BUILD FAILED
C:\VHBTV\workspace\VHBTV\delivery\build.xml:33: Problem: failed to create task or type svn
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.

I don't understand what happens...
I have added the folder 'C:\...\eclipse\plugins\org.tigris.subversion.clientadapter.javahl.win32_1.6.3'.
I have dowloaded the svnant zip file available here: http://subclipse.tigris.org/svnant.html (i have tried all the versions...)
The files are in my project in the folder 'delivery/svnant' and in Eclipse I have added the jar files into the runtime classpath (Window>Preferences>Ant>Runtime>Global entries>Add JARs...)
And in my build.xml file I have these lines at the top of the file:
        <path id="svnant.classpath">
                <fileset dir="${svn.install.dir}">
                  <include name="**/*.jar"/>
                </fileset>
        </path>
        <taskdef resource="svntask.properties" classpathref="svnant.classpath"/>

Can somebody help me ?

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2009-06-23 18:35:38 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.