Ant svnantlib error:Cannot find javahl, svnkit nor command line svn client

liuxue.gu@hotmail.com · 2012年11月28日 · 1 次阅读

build.xml[code]<?xml version="1.0"?>

[/code] 出错如下:[code] C:\project\trunk>ant -f svn.xml Buildfile: C:\project\trunk\svn.xml

checkout: [svn] Deprecated attribute 'username'. This attribute will disappear with SVNANT 1.3.2. Use svnSetting instead. [svn] Deprecated attribute 'password'. This attribute will disappear with SVNANT 1.3.2. Use svnSetting instead. [svn] Missing 'javahl' dependencies on the classpath !

BUILD FAILED C:\project\trunk\svn.xml:17: Cannot find javahl, svnkit nor command line svn client

Total time: 0 seconds

C:\project\trunk> [/code]

解决办法,不用 JNI JavaHL

javahl Set to “false” to use command line client interface instead of JNI JavaHL binding. No (Defaults to true)[code] [/code]

需要 登录 后方可回复。