Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: 1.4.0 (Beta)
-
Fix Version/s: 1.4.1
-
Component/s: SCM
-
Labels:None
-
Environment:Subversion-Kommandozeilenclient, Version 1.6.6-SlikSvn-tag-1.6.6@40358-WIN32.
Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
Java version: 1.6.0_17
-
Complexity:Intermediate
-
Patch Submitted:Yes
-
Number of attachments :
Description
The error is: "Unable to open an ra_local session to URL".
This can be corrected by adding a third "/" to the scm URL
in line 114 (Revision 928595) to org.apache.maven.continuum.release.phase.UpdateWorkingCopyPhaseTest
so that the URL reads:
"scm:svn:file:///" + projectUrl
There is an empty hostname, so the third slash seems to be required,
See
http://svnbook.red-bean.com/nightly/en/svn.basic.in-action.html#svn.advanced.reposurls
for reference.
-------------------------------------------------------------------------------
Test set: org.apache.maven.continuum.release.phase.UpdateWorkingCopyPhaseTest
-------------------------------------------------------------------------------
Tests run: 3, Failures: 1, Errors: 2, Skipped: 0, Time elapsed: 12.032 sec <<< FAILURE!
testWorkingDirDoesNotExist(org.apache.maven.continuum.release.phase.UpdateWorkingCopyPhaseTest) Time elapsed: 10.922 sec <<< ERROR!
org.apache.maven.shared.release.scm.ReleaseScmCommandException: Unable to checkout project
Provider message:
The svn command failed.
Command output:
svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file://d:/Development/workspace/external/continuum-1.4.0/continuum-release/target/scm-test/trunk'
at org.apache.maven.continuum.release.phase.UpdateWorkingCopyPhase.execute(UpdateWorkingCopyPhase.java:126)
at org.apache.maven.continuum.release.phase.UpdateWorkingCopyPhaseTest.testWorkingDirDoesNotExist(UpdateWorkingCopyPhaseTest.java:63)
testWorkingDirAlreadyExistsWithProjectCheckout(org.apache.maven.continuum.release.phase.UpdateWorkingCopyPhaseTest) Time elapsed: 0.453 sec <<< FAILURE!
junit.framework.AssertionFailedError
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.assertTrue(Assert.java:20)
at junit.framework.Assert.assertTrue(Assert.java:27)
at org.apache.maven.continuum.release.phase.UpdateWorkingCopyPhaseTest.testWorkingDirAlreadyExistsWithProjectCheckout(UpdateWorkingCopyPhaseTest.java:79)
Fixed way back in r990780