You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Harper, Brad" <br...@epsiia.com> on 2007/12/14 19:54:18 UTC

Wacky Duplicate Path Problem

Hi:

I've suddenly been hit by the problem described at

   http://jira.codehaus.org/browse/SCM-213

when running the 'release:prepare release:perform' goals.

The svn command-line client fails when receiving an argument containing
duplicate paths using two different conventions: one cygwin, the other
Windows.

   svn:
'/cygdrive/p/eclipse-workspace-qa-2.4.12/framework/p:/eclipse-workspace-
qa-
2.4.12/framework' is not a working copy
 
Last week it worked. Today it doesn't. Anyone have thoughts?

Thanks.

Brad

---------------------------------------------------------
Here's a fragment of the -X output

[DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-release-plugin:2.0-beta
-6:prepare' -->
[DEBUG]   (f) addSchema = true
[DEBUG]   (f) autoVersionSubmodules = false
[DEBUG]   (s) basedir = p:\eclipse-workspace-qa-2.4.12\framework
[DEBUG]   (f) commitByProject = false
[DEBUG]   (f) dryRun = false
[DEBUG]   (f) generateReleasePoms = false
[DEBUG]   (f) preparationGoals = clean verify
[DEBUG]   (f) project = org.apache.maven.project.MavenProject@19ee7035
[DEBUG]   (f) reactorProjects =
[org.apache.maven.project.MavenProject@19ee7035]

[DEBUG]   (f) resume = true
[DEBUG]   (f) scmCommentPrefix = [maven-release-plugin]
[DEBUG]   (f) settings = org.apache.maven.settings.Settings@691dee
[DEBUG]   (f) updateDependencies = true
[DEBUG]   (f) useEditMode = false
[DEBUG] -- end configuration --
[INFO] [release:prepare]
[INFO] Resuming release from phase 'scm-commit-release'
[INFO] Checking in modified POMs...
[INFO] Executing: svn --non-interactive commit --file
c:\DOCUME~1\bsharp\LOCALS~
1\Temp\maven-scm-298175632.commit --targets
c:\DOCUME~1\bsharp\LOCALS~1\Temp\mav
en-scm-46278-targets
[INFO] Working directory: p:\eclipse-workspace-qa-2.4.12\framework
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Unable to commit files
Provider message:
The svn command failed.
Command output:
svn:
'/cygdrive/p/eclipse-workspace-qa-2.4.12/framework/p:/eclipse-workspace-
qa-
2.4.12/framework' is not a working copy
svn: Can't open file
'/cygdrive/p/eclipse-workspace-qa-2.4.12/framework/p:/eclip
se-workspace-qa-2.4.12/framework/.svn/entries': No such file or
directory

[INFO]
------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.BuildFailureException: Unable to commit files
Provider message:
The svn command failed.
Command output:
svn:
'/cygdrive/p/eclipse-workspace-qa-2.4.12/framework/p:/eclipse-workspace-
qa-
2.4.12/framework' is not a working copy
svn: Can't open file
'/cygdrive/p/eclipse-workspace-qa-2.4.12/framework/p:/eclip
se-workspace-qa-2.4.12/framework/.svn/entries': No such file or
directory
...

Caused by: org.apache.maven.plugin.MojoFailureException: Unable to
commit files
Provider message:
The svn command failed.
Command output:
svn:
'/cygdrive/p/eclipse-workspace-qa-2.4.12/framework/p:/eclipse-workspace-
qa-
2.4.12/framework' is not a working copy
svn: Can't open file
'/cygdrive/p/eclipse-workspace-qa-2.4.12/framework/p:/eclip
se-workspace-qa-2.4.12/framework/.svn/entries': No such file or
directory
...

[INFO]
------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Fri Dec 14 12:45:11 CST 2007
[INFO] Final Memory: 5M/9M
[INFO]
------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Wacky Duplicate Path Problem

Posted by Dan Tran <da...@gmail.com>.
release plugin never work with cygwn's svn ( at least in my case),
switch non cygwin version never a problem.

-D

On Dec 14, 2007 10:54 AM, Harper, Brad <br...@epsiia.com> wrote:
> Hi:
>
> I've suddenly been hit by the problem described at
>
>   http://jira.codehaus.org/browse/SCM-213
>
> when running the 'release:prepare release:perform' goals.
>
> The svn command-line client fails when receiving an argument containing
> duplicate paths using two different conventions: one cygwin, the other
> Windows.
>
>   svn:
> '/cygdrive/p/eclipse-workspace-qa-2.4.12/framework/p:/eclipse-workspace-
> qa-
> 2.4.12/framework' is not a working copy
>
> Last week it worked. Today it doesn't. Anyone have thoughts?
>
> Thanks.
>
> Brad
>
> ---------------------------------------------------------
> Here's a fragment of the -X output
>
> [DEBUG] Configuring mojo
> 'org.apache.maven.plugins:maven-release-plugin:2.0-beta
> -6:prepare' -->
> [DEBUG]   (f) addSchema = true
> [DEBUG]   (f) autoVersionSubmodules = false
> [DEBUG]   (s) basedir = p:\eclipse-workspace-qa-2.4.12\framework
> [DEBUG]   (f) commitByProject = false
> [DEBUG]   (f) dryRun = false
> [DEBUG]   (f) generateReleasePoms = false
> [DEBUG]   (f) preparationGoals = clean verify
> [DEBUG]   (f) project = org.apache.maven.project.MavenProject@19ee7035
> [DEBUG]   (f) reactorProjects =
> [org.apache.maven.project.MavenProject@19ee7035]
>
> [DEBUG]   (f) resume = true
> [DEBUG]   (f) scmCommentPrefix = [maven-release-plugin]
> [DEBUG]   (f) settings = org.apache.maven.settings.Settings@691dee
> [DEBUG]   (f) updateDependencies = true
> [DEBUG]   (f) useEditMode = false
> [DEBUG] -- end configuration --
> [INFO] [release:prepare]
> [INFO] Resuming release from phase 'scm-commit-release'
> [INFO] Checking in modified POMs...
> [INFO] Executing: svn --non-interactive commit --file
> c:\DOCUME~1\bsharp\LOCALS~
> 1\Temp\maven-scm-298175632.commit --targets
> c:\DOCUME~1\bsharp\LOCALS~1\Temp\mav
> en-scm-46278-targets
> [INFO] Working directory: p:\eclipse-workspace-qa-2.4.12\framework
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Unable to commit files
> Provider message:
> The svn command failed.
> Command output:
> svn:
> '/cygdrive/p/eclipse-workspace-qa-2.4.12/framework/p:/eclipse-workspace-
> qa-
> 2.4.12/framework' is not a working copy
> svn: Can't open file
> '/cygdrive/p/eclipse-workspace-qa-2.4.12/framework/p:/eclip
> se-workspace-qa-2.4.12/framework/.svn/entries': No such file or
> directory
>
> [INFO]
> ------------------------------------------------------------------------
> [DEBUG] Trace
> org.apache.maven.BuildFailureException: Unable to commit files
> Provider message:
> The svn command failed.
> Command output:
> svn:
> '/cygdrive/p/eclipse-workspace-qa-2.4.12/framework/p:/eclipse-workspace-
> qa-
> 2.4.12/framework' is not a working copy
> svn: Can't open file
> '/cygdrive/p/eclipse-workspace-qa-2.4.12/framework/p:/eclip
> se-workspace-qa-2.4.12/framework/.svn/entries': No such file or
> directory
> ...
>
> Caused by: org.apache.maven.plugin.MojoFailureException: Unable to
> commit files
> Provider message:
> The svn command failed.
> Command output:
> svn:
> '/cygdrive/p/eclipse-workspace-qa-2.4.12/framework/p:/eclipse-workspace-
> qa-
> 2.4.12/framework' is not a working copy
> svn: Can't open file
> '/cygdrive/p/eclipse-workspace-qa-2.4.12/framework/p:/eclip
> se-workspace-qa-2.4.12/framework/.svn/entries': No such file or
> directory
> ...
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 4 seconds
> [INFO] Finished at: Fri Dec 14 12:45:11 CST 2007
> [INFO] Final Memory: 5M/9M
> [INFO]
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: Wacky Duplicate Path Problem

Posted by Matthew Tordoff <ma...@markit.com>.
This is due to differences in SVN clients, and is not directly linked to
either cygwin or windows. I believe that your windows version of the SVN
client will be more recent. If you look at the release notes for SVN
1.4...

http://subversion.tigris.org/svn_1.4_releasenotes.html

You will see it states, that any working copy made with v1.4 or further
will not be compatible with earlier clients. Therefore if you created a
working copy with a v1.4 onwards version of SVN, and tried to work with
it with a version pre 1.4 then you will get this problem.

Thus you have either the option of upgrading your cygwin client (if
there is a v1.4 or higher client available), or by downgrading your
Windows client and making a fresh checkout of the repository.

Hope this is of help,

Matt


-----Original Message-----
From: Harper, Brad [mailto:brad.harper@epsiia.com] 
Sent: 14 December 2007 18:54
To: users@maven.apache.org
Subject: Wacky Duplicate Path Problem

Hi:

I've suddenly been hit by the problem described at

   http://jira.codehaus.org/browse/SCM-213

when running the 'release:prepare release:perform' goals.

The svn command-line client fails when receiving an argument containing
duplicate paths using two different conventions: one cygwin, the other
Windows.

   svn:
'/cygdrive/p/eclipse-workspace-qa-2.4.12/framework/p:/eclipse-workspace-
qa-
2.4.12/framework' is not a working copy
 
Last week it worked. Today it doesn't. Anyone have thoughts?

Thanks.

Brad

---------------------------------------------------------
Here's a fragment of the -X output

[DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-release-plugin:2.0-beta
-6:prepare' -->
[DEBUG]   (f) addSchema = true
[DEBUG]   (f) autoVersionSubmodules = false
[DEBUG]   (s) basedir = p:\eclipse-workspace-qa-2.4.12\framework
[DEBUG]   (f) commitByProject = false
[DEBUG]   (f) dryRun = false
[DEBUG]   (f) generateReleasePoms = false
[DEBUG]   (f) preparationGoals = clean verify
[DEBUG]   (f) project = org.apache.maven.project.MavenProject@19ee7035
[DEBUG]   (f) reactorProjects =
[org.apache.maven.project.MavenProject@19ee7035]

[DEBUG]   (f) resume = true
[DEBUG]   (f) scmCommentPrefix = [maven-release-plugin]
[DEBUG]   (f) settings = org.apache.maven.settings.Settings@691dee
[DEBUG]   (f) updateDependencies = true
[DEBUG]   (f) useEditMode = false
[DEBUG] -- end configuration --
[INFO] [release:prepare]
[INFO] Resuming release from phase 'scm-commit-release'
[INFO] Checking in modified POMs...
[INFO] Executing: svn --non-interactive commit --file
c:\DOCUME~1\bsharp\LOCALS~ 1\Temp\maven-scm-298175632.commit --targets
c:\DOCUME~1\bsharp\LOCALS~1\Temp\mav
en-scm-46278-targets
[INFO] Working directory: p:\eclipse-workspace-qa-2.4.12\framework
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Unable to commit files
Provider message:
The svn command failed.
Command output:
svn:
'/cygdrive/p/eclipse-workspace-qa-2.4.12/framework/p:/eclipse-workspace-
qa-
2.4.12/framework' is not a working copy
svn: Can't open file
'/cygdrive/p/eclipse-workspace-qa-2.4.12/framework/p:/eclip
se-workspace-qa-2.4.12/framework/.svn/entries': No such file or
directory

[INFO]
------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.BuildFailureException: Unable to commit files Provider
message:
The svn command failed.
Command output:
svn:
'/cygdrive/p/eclipse-workspace-qa-2.4.12/framework/p:/eclipse-workspace-
qa-
2.4.12/framework' is not a working copy
svn: Can't open file
'/cygdrive/p/eclipse-workspace-qa-2.4.12/framework/p:/eclip
se-workspace-qa-2.4.12/framework/.svn/entries': No such file or
directory ...

Caused by: org.apache.maven.plugin.MojoFailureException: Unable to
commit files Provider message:
The svn command failed.
Command output:
svn:
'/cygdrive/p/eclipse-workspace-qa-2.4.12/framework/p:/eclipse-workspace-
qa-
2.4.12/framework' is not a working copy
svn: Can't open file
'/cygdrive/p/eclipse-workspace-qa-2.4.12/framework/p:/eclip
se-workspace-qa-2.4.12/framework/.svn/entries': No such file or
directory ...

[INFO]
------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Fri Dec 14 12:45:11 CST 2007 [INFO] Final Memory:
5M/9M [INFO]
------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org




The content of this e-mail is confidential and may be privileged. It may be read, copied and used only by the intended recipient and may not be disclosed, copied or distributed. If you received this email in error, please contact the sender immediately by return e-mail or by telephoning +44 20 7260 2000, delete it and do not disclose its contents to any person. You should take full responsibility for checking this email for viruses. Markit reserves the right to monitor all e-mail communications through its network.
Markit and its affiliated companies make no warranty as to the accuracy or completeness of any information contained in this message and hereby exclude any liability of any kind for the information contained herein. Any opinions expressed in this message are those of the author and do not necessarily reflect the opinions of Markit.
For full details about Markit, its offerings and legal terms and conditions, please see Markit's website at http://www.markit.com <http://www.markit.com/> .

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org