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

SVN checkout using ant

From: Muthu <smswamy_at_gmail.com>
Date: 2006-08-26 13:56:31 CEST

Hi,
     I want to checkout from a svn repository using ANT1.6.5.The following
is the source code and error i got.I have placed all the required jars in
the location.Will you please someone help it out.Thanks in advance.

Source:-
<project name="Example" default="doMain">
      <!-- path to the svnant libraries. Usually they will be located in
ANT_HOME/lib -->
    <path id="project.classpath">
        <pathelement location="${svnjavahl.jar}" />
        <pathelement location="${svnant.jar}" />
        <pathelement location="${svnClientAdapter.jar}" />
    </path>
  
     <!-- load the svn task -->
    <taskdef resource="svntask.properties"
classpathref="project.classpath"/>
    <taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
    
  <!-- all properties are in build.properties -->
  <property file="build.properties" />
      
    <target name="doMain">
        <echo message="Hi"/>
        <runtarget target="doCheckout"/>
    </target>
    
  <target name="doCheckout">
    <svn username="${user.id}" password="${password}">
      <checkout url="${url}" destPath="temp" />
    </svn>
  </target>

</project>

Error:-
C:\ANT\svnant-1.0.0>echo off
Environment variable the not defined
Buildfile: build.xml

checkoutThis:

BUILD FAILED
C:\ANT\svnant-1.0.0\build.xml:30: Cannot use javahl nor command line svn
client

Total time: 0 seconds

Thanks,
Muthuswamy.S

-- 
View this message in context: http://www.nabble.com/SVN-checkout-using--ant-tf2169024.html#a5997119
Sent from the Subversion Users forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Aug 26 13:57:33 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.