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

[Subclipse-users] subversion 1.4.2, svnAnt 1.1.0-RC2, and ssh

From: Brian Hagan <bhagan_at_pentaho.org>
Date: 2007-02-28 20:44:32 CET

I have recently upgraded my subversion server and client to 1.4.2 and my
svnAnt to 1.1.0-RC2. Previously, I was using svnAnt 1.0.0 and an earlier
version of subversion (1.2.x I believe). I had the svnAnt jars in my
apache-ant-1.6.5/lib directory, which is on my $PATH. Our build process
requires that we use ssh to connect to a subversion repository machine. I
was successfully using public/private keys for authentication, and I did not
have to enter any information in the /home/builduser/.subversion/config
file.

 

After the upgrade, I was not able to authenticate. Below I will list the
upgrade path in detail with the results of each step.

 

1. Installed Subversion server and client version1.4.2, which I downloaded
from http://downloads.open.collab.net/collabnet-subversion.html - After
this, I was not able to use my existing Ant scripts, which use svnAnt tasks.
I received the error, cannot use javahl nor command line svn client

2. Built and installed svnAnt1.1.0-RC2, which I downloaded and built
according to
http://subversion.open.collab.net/articles/IntegratingSubversionIntoYourAntB
uild.html. I replaced the old svnAnt jars with the new ones. After this, I
was able to use some of the Ant scripts. However, the targets, which use
svnAnt with ssh urls do not work. I receive the error: svn: authentication
cancelled.

 

 

Additional Information:

Build machine is RedHat Linux ES release 4

Ant 1.6.5

CruiseControl-2.5

I set javahl=false inside the svnAnt tasks

I can successfully ssh from the command line to the subversion repository
machine from a terminal

I can successfully execute the following command: svn list
svn+ssh://subversion-repository-machine/svnroot/project-name

 

I have read many, many posts in the archives, including:

 

http://svn.haxx.se/subusers/archive-2005-09/0292.shtml

http://subclipse.tigris.org/servlets/BrowseList?list=users&by=thread&from=35
9417

 

and still cannot figure this one out, so I am finally posting. Any help
would be greatly appreciated.
Received on Wed Feb 28 20:44:52 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.