Hello all,
I have searched for a while on this issue to no avail. I am sure it is
something I am doing wrong, but have decided to branch out and ask for
some assistance. :)
I am trying to automate some svn processes via svnant utilising the
command line option. Below I have copied a sample piece of ant script
which replicates my issue.
[------------------Start Sample script-------------------]
<project name="testsvn" default="testsvn" basedir=".">
<property name="svnant.jar" value="svnant.jar"/>
<property name="svnClientAdapter.jar" value="svnClientAdapter.jar"/>
<property name="svnjavahl.jar" value="svnjavahl.jar"/>
<path id="ant.task.classpath">
<pathelement location="${svnant.jar}"/>
<pathelement location="${svnClientAdapter.jar}"/>
<pathelement location="${svnjavahl.jar}"/>
</path>
<taskdef resource="svntask.properties"
classpathref="ant.task.classpath"/>
<target name="testsvn">
<echo>testsvn</echo>
<svn username="robertsj" password="password23" javahl="false">
<export
srcUrl="http://hcosdc213/svn/sandpit/projects/SVTTools/tags/Release-1.0/"
destPath="/tmp/dump" />
</svn>
<echo>test complete</echo>
</target>
</project>
[------------------END Sample script-------------------]
When I execute the below script the following occurs:
[---------------- START Terminal Output -----------------]
[builduser@eaiccdev200v bin]$ ant -f testsvn.xml
Buildfile: testsvn.xml
testsvn:
[echo] testsvn
[svn] Using command line interface
Svn : Exporting
export -r HEAD
http://hcosdc213/svn/sandpit/projects/SVTTools/tags/Release-1.0 /tmp/dump
Password for 'builduser':
[---------------- END Terminal Output -----------------]
As you can see the build halts and waits for a password. It seems to
completely ignore the username and password I have specified in the ant
script. If I execute the script from a linux account which has a cached
svn user/pass it works a treat.
Is anyone able to shed some light on the configuration/mistake I have
made? As I highly doubt this a product issue and it is more a bit of a
newbie issue.
Thanks for you time guys and apologises if I have missed something trivial.
Cheers
Jason
Version: 1.0.0 of svnant used and 1.4.2 of SVNClient.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Mon May 14 06:37:50 2007