You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hans Beemsterboer (JIRA)" <ji...@codehaus.org> on 2007/07/10 12:12:13 UTC

[jira] Issue Comment Edited: (CONTINUUM-1230) org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest fails with cygwin

    [ http://jira.codehaus.org/browse/CONTINUUM-1230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_101765 ] 

Hans Beemsterboer edited comment on CONTINUUM-1230 at 7/10/07 5:12 AM:
-----------------------------------------------------------------------

I have the same cygwin path issue with Maven 2.0.6:

D:\backup\olvUtil\trunk>mvn release:prepare
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'release'.
[INFO] ----------------------------------------------------------------------------
[INFO] Building olvUtil
[INFO]    task-segment: [release:prepare] (aggregator-style)
[INFO] ----------------------------------------------------------------------------
[INFO] [release:prepare]
[INFO] Verifying that there are no local modifications...
[INFO] Executing: svn --non-interactive status
[INFO] Working directory: D:\backup\olvUtil\trunk
[INFO] Checking dependencies and plugins for snapshots ...
What is the release version for "olvUtil"? (nl.achmea.olv:olvUtil) 1.0: :
What is SCM release tag or label for "olvUtil"? (nl.achmea.olv:olvUtil) olvUtil-1.0: :
What is the new development version for "olvUtil"? (nl.achmea.olv:olvUtil) 1.1-SNAPSHOT: :
[INFO] Transforming 'olvUtil'...
[INFO] Not generating release POMs
[INFO] Executing goals 'clean verify'...
[INFO] Executing: mvn clean verify --no-plugin-updates -P default-profile,snapshot,compiler,default-profile
    [INFO] Scanning for projects...
    [INFO] ----------------------------------------------------------------------------
    [INFO] Building olvUtil
    [INFO]    task-segment: [clean, verify]
    [INFO] ----------------------------------------------------------------------------
    [INFO] [clean:clean]
    [INFO] Deleting directory D:\backup\olvUtil\trunk\target
    [INFO] Deleting directory D:\backup\olvUtil\trunk\target\classes
    [INFO] Deleting directory D:\backup\olvUtil\trunk\target\test-classes
    [INFO] Deleting directory D:\backup\olvUtil\trunk\target\site
    [INFO] [resources:resources]
    [INFO] Using default encoding to copy filtered resources.
    [INFO] [compiler:compile]
    [INFO] Compiling 4 source files to D:\backup\olvUtil\trunk\target\classes
    [INFO] [resources:testResources]
    [INFO] Using default encoding to copy filtered resources.
    [INFO] [compiler:testCompile]
    [INFO] Nothing to compile - all classes are up to date
    [INFO] [surefire:test]
    [INFO] No tests to run.
    [INFO] [jar:jar]
    [INFO] Building jar: D:\backup\olvUtil\trunk\target\olvUtil-1.0.jar
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD SUCCESSFUL
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 3 seconds
    [INFO] Finished at: Tue Jul 10 12:02:15 CEST 2007
    [INFO] Final Memory: 4M/9M
    [INFO] ------------------------------------------------------------------------
[INFO] Checking in modified POMs...
[INFO] Executing: svn --non-interactive commit --file C:\DOCUME~1\AA062237\LOCALS~1\Temp\maven-scm-292709279.commit --ta
rgets C:\DOCUME~1\AA062237\LOCALS~1\Temp\maven-scm-24844-targets
[INFO] Working directory: D:\backup\olvUtil\trunk
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Unable to commit files
Provider message:
The svn command failed.
Command output:
svn: '/cygdrive/d/backup/olvUtil/trunk/D:/backup/olvUtil/trunk' is not a working copy
svn: Can't open file '/cygdrive/d/backup/olvUtil/trunk/D:/backup/olvUtil/trunk/.svn/entries': No such file or directory

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8 seconds
[INFO] Finished at: Tue Jul 10 12:02:16 CEST 2007
[INFO] Final Memory: 4M/9M
[INFO] ------------------------------------------------------------------------



 was:
I have the same cygwin path issue with Maven 2.0.6:

<code>
D:\backup\olvUtil\trunk>mvn release:prepare
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'release'.
[INFO] ----------------------------------------------------------------------------
[INFO] Building olvUtil
[INFO]    task-segment: [release:prepare] (aggregator-style)
[INFO] ----------------------------------------------------------------------------
[INFO] [release:prepare]
[INFO] Verifying that there are no local modifications...
[INFO] Executing: svn --non-interactive status
[INFO] Working directory: D:\backup\olvUtil\trunk
[INFO] Checking dependencies and plugins for snapshots ...
What is the release version for "olvUtil"? (nl.achmea.olv:olvUtil) 1.0: :
What is SCM release tag or label for "olvUtil"? (nl.achmea.olv:olvUtil) olvUtil-1.0: :
What is the new development version for "olvUtil"? (nl.achmea.olv:olvUtil) 1.1-SNAPSHOT: :
[INFO] Transforming 'olvUtil'...
[INFO] Not generating release POMs
[INFO] Executing goals 'clean verify'...
[INFO] Executing: mvn clean verify --no-plugin-updates -P default-profile,snapshot,compiler,default-profile
    [INFO] Scanning for projects...
    [INFO] ----------------------------------------------------------------------------
    [INFO] Building olvUtil
    [INFO]    task-segment: [clean, verify]
    [INFO] ----------------------------------------------------------------------------
    [INFO] [clean:clean]
    [INFO] Deleting directory D:\backup\olvUtil\trunk\target
    [INFO] Deleting directory D:\backup\olvUtil\trunk\target\classes
    [INFO] Deleting directory D:\backup\olvUtil\trunk\target\test-classes
    [INFO] Deleting directory D:\backup\olvUtil\trunk\target\site
    [INFO] [resources:resources]
    [INFO] Using default encoding to copy filtered resources.
    [INFO] [compiler:compile]
    [INFO] Compiling 4 source files to D:\backup\olvUtil\trunk\target\classes
    [INFO] [resources:testResources]
    [INFO] Using default encoding to copy filtered resources.
    [INFO] [compiler:testCompile]
    [INFO] Nothing to compile - all classes are up to date
    [INFO] [surefire:test]
    [INFO] No tests to run.
    [INFO] [jar:jar]
    [INFO] Building jar: D:\backup\olvUtil\trunk\target\olvUtil-1.0.jar
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD SUCCESSFUL
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 3 seconds
    [INFO] Finished at: Tue Jul 10 12:02:15 CEST 2007
    [INFO] Final Memory: 4M/9M
    [INFO] ------------------------------------------------------------------------
[INFO] Checking in modified POMs...
[INFO] Executing: svn --non-interactive commit --file C:\DOCUME~1\AA062237\LOCALS~1\Temp\maven-scm-292709279.commit --ta
rgets C:\DOCUME~1\AA062237\LOCALS~1\Temp\maven-scm-24844-targets
[INFO] Working directory: D:\backup\olvUtil\trunk
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Unable to commit files
Provider message:
The svn command failed.
Command output:
svn: '/cygdrive/d/backup/olvUtil/trunk/D:/backup/olvUtil/trunk' is not a working copy
svn: Can't open file '/cygdrive/d/backup/olvUtil/trunk/D:/backup/olvUtil/trunk/.svn/entries': No such file or directory

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8 seconds
[INFO] Finished at: Tue Jul 10 12:02:16 CEST 2007
[INFO] Final Memory: 4M/9M
[INFO] ------------------------------------------------------------------------
</code>

> org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest fails with cygwin
> --------------------------------------------------------------------------------------
>
>                 Key: CONTINUUM-1230
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1230
>             Project: Continuum
>          Issue Type: Bug
>          Components: Release
>    Affects Versions: 1.1-alpha-1
>         Environment: Windows XP
>            Reporter: Arnaud Heritier
>             Fix For: Future
>
>
> Have a look at the path in svn commands ....
> {code}
> [ERROR] org.apache.maven.shared.release.scm.ReleaseScmCommandException: Unable to commit files
> Provider message:
> The svn command failed.
> Command output:
> svn: '/cygdrive/e/OSS/m2-trunks/continuum/continuum-release/target/test-classes/work-dir/e:/OSS/m2-trunks/continuum/continuum-release/target/test-classes/work-dir' is not a working copy
> svn: Can't open file '/cygdrive/e/OSS/m2-trunks/continuum/continuum-release/target/test-classes/work-dir/e:/OSS/m2-trunks/continuum/continuum-release/target/test-classes/work-dir/.svn/entries': No such file or directory
> 	at org.apache.maven.shared.release.phase.ScmCommitPhase.execute(ScmCommitPhase.java:105)
> 	at org.apache.maven.shared.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:205)
> 	at org.apache.maven.shared.release.DefaultReleaseManager.prepareWithResult(DefaultReleaseManager.java:118)
> 	at org.apache.maven.continuum.release.executors.PrepareReleaseTaskExecutor.execute(PrepareReleaseTaskExecutor.java:43)
> 	at org.apache.maven.continuum.release.executors.AbstractReleaseTaskExecutor.executeTask(AbstractReleaseTaskExecutor.java:67)
> 	at org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest.doPrepareWithNoError(ReleaseTaskExecutorTest.java:224)
> 	at org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest.releaseSimpleProject(ReleaseTaskExecutorTest.java:112)
> 	at org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest.testReleases(ReleaseTaskExecutorTest.java:128)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at junit.framework.TestCase.runTest(TestCase.java:154)
> 	at junit.framework.TestCase.runBare(TestCase.java:127)
> 	at junit.framework.TestResult$1.protect(TestResult.java:106)
> 	at junit.framework.TestResult.runProtected(TestResult.java:124)
> 	at junit.framework.TestResult.run(TestResult.java:109)
> 	at junit.framework.TestCase.run(TestCase.java:118)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
> 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
> 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
> 	at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
> 	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest.doPrepareWithNoError(ReleaseTaskExecutorTest.java:229)
> 	at org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest.releaseSimpleProject(ReleaseTaskExecutorTest.java:112)
> 	at org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest.testReleases(ReleaseTaskExecutorTest.java:128)
> 	at org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest.testReleases(ReleaseTaskExecutorTest.java:128)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at junit.framework.TestCase.runTest(TestCase.java:154)
> 	at junit.framework.TestCase.runBare(TestCase.java:127)
> 	at junit.framework.TestResult$1.protect(TestResult.java:106)
> 	at junit.framework.TestResult.runProtected(TestResult.java:124)
> 	at junit.framework.TestResult.run(TestResult.java:109)
> 	at junit.framework.TestCase.run(TestCase.java:118)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
> 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
> 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
> 	at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
> 	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
> {code}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira