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

[Subclipse-users] SVNAnt

From: Amol Katdare <amol.forums_at_gmail.com>
Date: 2006-08-10 17:39:40 CEST

Hi,
I am trying to get SVNAnt to work for the first time.
But I keep getting "Cannot use javahl nor command line svn client" error.
I tried copying the 3 .jars to ant_home/lib directory, but it didnt help
either.
Can someone please tell me whats wrong with this build file:
Thanks,
Amol

<project name="setup" default="setup" basedir=".">

    <property name="javahl"
value="/svnant-1.0.0/svnant-1.0.0/lib/svnjavahl.jar"
/>

        <property name="wc.root" value="/svnant-1.0.0/svnant-1.0.0" />

        <path id="project.classpath ">
        <pathelement location="/svnant-1.0.0/svnant-1.0.0/lib/svnant.jar" />
            <pathelement
location="/svnant-1.0.0/svnant-1.0.0/lib/svnClientAdapter.jar"/>
            <pathelement location="/svnant-1.0.0/svnant-1.0.0
/lib/svnjavahl.jar"/>
        </path>

        <taskdef resource=" svntask.properties" classpathref="
project.classpath"/>

    <target name="setup" depends="get_dependencies">
    </target>

    <target name="get_dependencies">
        <echo>In get_dependencies</echo>
        <svn javahl="true">
            <checkout
url="http://svn.apache.org/repos/asf/jakarta/commons/trunks-sandbox/
" destPath="." />
        </svn>
        <echo>Exiting get_dependencies</echo>
    </target>
</project>
Received on Thu Aug 10 17:39:56 2006

This is an archived mail posted to the Subclipse Users mailing list.