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

SVN Authentication

From: S I <xiamak_at_hotmail.com>
Date: 2005-09-14 21:19:49 CEST

Hi

I downloaded JavaSvn from (org.tmatesoft.svn.core) tmasoft.org and created
the below target in my build file. Put the jar files under
anthill/lib/ant~/lib...and call the target from the dos cli and get the
authentication required error. Any ideas?

        <target name="svncommit" description="Commit and Tag svn" >

                <property name="repository.URL" value="http://ip-addr/svn/project1"/>

                <echo message="BASEDIR: ${basedir}" />

                        <java classname="org.tmatesoft.svn.cli.SVN"
                                dir="${basedir}" fork="true">
                                <classpath>
                                        <pathelement location="${anthill.lib}/javasvn.jar" />
                                        <pathelement location="${anthill.lib}/javasvn-cli.jar" />
                                </classpath>
                                <arg value="commit"/>
                                <arg value="-m"/>
                                <arg value="${build.number}"/>
                                <arg value="file1"/>
                                <arg value="file2"/>

                        </java>

                <echo message="${line.separator}" />
                <echo message="Tagging svn ..." />
                <echo message="${line.separator}" />

                        <java classname="org.tmatesoft.svn.cli.SVN"
                                dir="${basedir}" fork="true">
                                <classpath>
                                        <pathelement location="${anthill.lib}/javasvn.jar" />
                                        <pathelement location="${anthill.lib}/javasvn-cli.jar" />
                                </classpath>
                                <arg value="cp"/>
                                <arg value="${basedir}"/>
                                <arg value="${repository.URL}/tags/build${build.number}"/>
                                <arg value="-m"/>
                                <arg value="build${build.number}"/>

                        </java>

        </target>

------------------------------------------
C:\AntHill\work\interact\trunk\build>ant -Dbuild.number=77 svncommit
Buildfile: build.xml

svncommit:

     [echo] BASEDIR: C:\AntHill\work\interact\trunk

     [java] svn: Authentication required for '<http://ip-addr:80> Subversion
Access'

     [echo] Tagging svn ...

     [java] svn: Authentication required for '<http://ip-addr:80> Subversion
Access'

BUILD SUCCESSFUL
Total time: 9 seconds
-----------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 14 21:22:22 2005

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.