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

[Subclipse-users] Authorization failed using svnant

From: David Marr <dave_at_marr.com>
Date: Thu, 7 Jan 2010 11:46:43 -0800 (PST)

Hi,
I am having trouble with a simple test of svnant. My build file is posted below:

<project name="EIC" default="testSVNAnt" basedir=".">
        <path id= "svnant.classpath" >
                <fileset dir="Simulation/libs/ant/svnant-1.3.0/lib" includes="*.jar" />
                <fileset dir="/opt/subversion/lib/svn-javahl" includes="svn-javahl.jar" />
        </path>
        <typedef resource="org/tigris/subversion/svnant/svnantlib.xml" classpathref="svnant.classpath" />
        <target name="testSVNAnt">
                <svn>
                <wcVersion path="Simulation" />
            </svn>
                <echo message= "Subversion repository url: ${repository.url}" />
                <svn>
                        <info target="DataService" />
                </svn>
        </target>
</project>

When I run this, I am getting the following output:

[svn] <WcVersion> started ...
      [svn] <WcVersion> finished.
     [echo] Subversion repository url: https://svn.mydomain.com/dav/repos/myproject/eic/trunk/Simulation
      [svn] <Info> started ...
      [svn] Authorization failed
      [svn] svn: OPTIONS of 'https://svn.mydomain.com/dav/repos/myproject/eic/trunk/DataService': authorization failed: Could not authenticate to server: ignored NTLM challenge, rejected Basic challenge (https://svn.mydomain.com)
      [svn] <Info> failed !

I can successfully do a `svn info DataService` from the command line and see the correct output. However using ant, it is giving me problems.

Are there any hints someone could give me?

Cheers,
Dave

------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2435582

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2010-01-07 20:46:52 CET

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.