Cannot find javahl, svnkit nor command line svn client although I have command line svn

久未见 提交于 2019-12-13 06:25:53

问题


I'm trying to use svnant. Here's my xml:

<!-- SVN settings -->
<target name="init.svn">
    <path id="svnant.classpath">
        <fileset dir=".../svnant">
            <include name="**/*.jar" />
        </fileset>
    </path>
    <typedef resource="org/tigris/subversion/svnant/svnantlib.xml" classpathref="svnant.classpath" />
    <svnSetting svnkit="false" javahl="false" id="svn.settings"/>
</target>

<target name="checkouttag" depends="init.svn">
    <svn refid="svn.settings">
        <checkout url="${svn.tags}/${TAG_NAME}" destpath="${TAG_NAME}" />
    </svn>
</target>

I expect command line svn to be used but I'm getting "Cannot find javahl, svnkit nor command line svn client" error although I do can run svn from command line. I'm using ant-1.8.4 and svn-1.6.4. Can anyone help me with this?


回答1:


So finally I could do nothing with this and decided not to use svnant at all. Just directly call svn command line from ant instead.



来源:https://stackoverflow.com/questions/12070534/cannot-find-javahl-svnkit-nor-command-line-svn-client-although-i-have-command-l

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!