找不到svnantlib.xml

时间:2013-05-08 10:38:26

标签: ant svnant

我有像...这样的蚂蚁文件。

<?xml version="1.0"?>
<project name="antSVN" default="build" basedir=".">
<path id="path.svnant">
<pathelement location="svnant.jar"/>
<pathelement location="svnClientAdapter.jar"/>
<pathelement location="svnjavahl.jar"></pathelement> 
    <!-- <pathelement location="/home/ezdi/apache_ant/svnant-1.3.1/lib/svnant.jar"/>
    <pathelement location="/home/ezdi/apache_ant/svnant-1.3.1/lib/svnClientAdapter.jar"    />
    <pathelement location="/home/ezdi/apache_ant/svnant-1.3.1/lib/svnjavahl.jar" />  -->

</path>

<typedef resource="org/tigris/subversion/svnant/svnantlib.xml" classpath="path.svnant"/>
<target name="checkout">
    <svn username="charvee" password="charvee123">
        <checkout url="svn+ssh://charvee@192.168.1.210/home/EZCAC/source/ezCACWeb" revision="HEAD" destpath="src" />
    </svn>
</target>
<target name="update-codebase">
    <svn username="${svn.username}" password="${svn.password}">
        <update revision="HEAD" recurse="true" dir="${project.code}" />
    </svn>
</target>
<target name="build" depends="checkout">
    <description>Main target</description>
</target>

它给我的错误如下:

Buildfile:/home/charvee/ANT_WS/antSVN/build.xml   [typedef]无法从资源org / tigris / subversion / svnant / svnantlib.xml加载定义。它无法找到。 结帐:

现在该怎么办?

1 个答案:

答案 0 :(得分:1)

您应该确保print_string: pusha mov ah, 0x0e mov al, [bx] print_string_loop: cmp al, 0x0 je print_string_end int 0x10 add bx, 0x1 mov al, [bx] jmp print_string_loop print_string_end: popa ret

中有以下广告罐
  1. %ANT_HOME%\lib
  2. svnant.jar
  3. svnClientAdapter.jar
  4. 然后重新尝试。希望有意义。