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

[Subclipse-users] Checking Out over HTTPS using svnant

From: Amiruddin Nagri <anagri_at_thoughtworks.com>
Date: 2007-08-22 06:27:12 CEST

Hi,

I have a svn repository over https.

I am trying to checkout using svnant to update the code, but it is giving
error saying certificate is not accepted by server.

Here is the build.xml file

build.xml file contains :

Buildfile: build.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<project name="svnup" default="svnup" basedir=".">
  <property file="build.properties" />

  <!-- 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"/>
 
  <target name="svnup">
        <svn username="" password="">
                <update dir="./cruisecontrol"/>
        </svn>
  </target>
</project>

build.properties file contains :

lib.dir=lib
svnant.jar=${lib.dir}/svnant.jar
svnClientAdapter.jar=${lib.dir}/svnClientAdapter.jar
svnjavahl.jar=${lib.dir}/svnjavahl.jar

Here is the console output I get when i try to run the ant svnup

svnup:
      [svn] Using command line interface
Svn : Updating
up -r HEAD C:\SVN_PROJECTS\cruisecontrol --non-interactive
svn: PROPFIND request failed on '/svnroot/cruisecontrol/trunk'
svn: PROPFIND of '/svnroot/cruisecontrol/trunk': Server certificate
verification failed: issuer is not trusted
(https://cruisecontrol.svn.sourceforge.net)

BUILD FAILED
C:\SVN_PROJECTS\build.xml:16: Cannot update dir
C:\SVN_PROJECTS\cruisecontrol

Total time: 4 seconds

Do anyone have idea of how to go update the code over https.

Thanks,
Amiruddin Nagri,
ThoughtWorks Technologies India Pvt. Ltd.,
2nd Floor, Tower C, Diamond District, Airport road,
Bangalore, 560008, KA
India

Y! IM : amir_nagri@yahoo.com
GTalk : amir.nagri@gmail.com
Received on Wed Aug 22 06:44:35 2007

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

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