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

Problem updating through ANT.

From: Doug Tanner <doug.tanner_at_benefitfocus.com>
Date: 2006-12-18 21:42:46 CET

We are going to move to Subversion by mid January, so I am working on
getting our current build process through CruiseControl and Ant working
with a test repository. Unfortunately, I have been unsuccessful in
running a simple ant target to update my local working copy. Below is
the target commands followed by the command-line output.

 

Note: I can update via TortoiseSVN. My password is plaintext at the
moment so I have removed it for posting.

 

<project name="DEPLOY" default="all" basedir=".">

            <path id="project.classpath">

            <pathelement
location="C:\bfapps\bea\weblogic92\server\lib\ant\svnjavahl.jar" />

                        <pathelement
location="C:\bfapps\bea\weblogic92\server\lib\ant\svnant.jar" />

                        <pathelement
location="C:\bfapps\bea\weblogic92\server\lib\ant\svnClientAdapter.jar"
/>

            </path>

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

            <target name="update">

                        <svn javahl="false" username="dtanner"
password="${password}">

                                    <update dir="c:/projects/4X"/>

                        </svn>

            </target>

</project>

 

$ ant update

Buildfile: build.xml

 

update:

      [svn] Using command line interface

Svn : Updating

up -r HEAD C:\projects\4X --username dtanner --password *******
--non-interactive

svn: PROPFIND request failed on '/svn/4X'

svn: PROPFIND of '/svn/4X': authorization failed (http://bfvcs1)

 

BUILD FAILED

C:\projects\build.xml:12: Cannot update dir C:\projects\4X

 

Total time: 55 seconds

 

There does not seem to be very much documentation pertaining to this
problem. I normally authenticate via my domain username/password, but I
see the following error in the Apache logs on the repo server.

 

[Mon Dec 18 15:37:52 2006] [error] [client 10.1.201.32] (OS 1326)Logon
failure: unknown user name or bad password. : user BFDC01\\dtanner:
authentication failure for "/svn/4X"

 

Any help would be greatly appreciated.

 

 

Doug Tanner

Operations Engineer

Benefitfocus.com, Inc.

843-849-7476 ext. 6394

843-849-9485 (Fax)

 

****************************************************************************************
BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to bfpostmaster@benefitfocus.com, and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005)
***************************************************************************************
Received on Mon Dec 18 21:44:12 2006

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