Mit SVNAnt in eclipse Build Failed (Konnte nicht geladen werden Definitionen von Ressourcen)

Möchte ich SVNAnt in eclipse.
Aber wenn ich mein Skript auszuführen, habe ich diese Meldung :

Buildfile: X:\XXX\bin\ant\axis_bujava.xml
  [typedef] Could not load definitions from resource org/tigris/subversion/svnant/svnantlib.xml. It could not be found.
testSVNAnt:

BUILD FAILED
X:\XXX\bin\ant\axis_bujava.xml:11: 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.

Hier ist die Ant-build-Datei :

<?xml version="1.0"?>

<project default="testSVNAnt" basedir=".">

<path id="path.svnant">
    <pathelement location="${basedir}/svnant.jar"/>
    <pathelement location="${basedir}/svnClientAdapter.jar"/>
</path>
<typedef resource="org/tigris/subversion/svnant/svnantlib.xml" classpathref="path.svnant" />
    <target name="testSVNAnt">
        <svn username="username" password="pass">
            <checkout url="svn://svnurl" destPath="localpath" revision="HEAD"/>  
        </svn>
        <echo message= "Subversion repository url: ${repository.url}" />
    </target>
</project>

JAR-Dateien sind natürlich in basedir. Ich kann nicht finden, ähnliche problem noch keine Lösungen.

InformationsquelleAutor thomaf | 2011-11-15

Schreibe einen Kommentar