tuscany-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Featherstone" <r.j.featherst...@btinternet.com>
Subject Re: Error building contribution-impl
Date Tue, 05 Feb 2008 15:46:10 GMT
Hi,

The output shows that the 
org.apache.tuscany.sca.contribution.processor.FolderContributionPackageProcessorTestCase 
has errors, have a look there.

If you only want to get the build done don't run the tests -Dmaven.test.skip 
= true

R
----- Original Message ----- 
From: "Matthew Peters" <matthew_peters@uk.ibm.com>
To: <tuscany-dev@ws.apache.org>
Sent: Tuesday, February 05, 2008 2:15 PM
Subject: Error building contribution-impl


>I am seeing the following error during a Tuscany build. This is a fresh
> checkout from Tuscany svn. Can anyone tell me what the cause might be?
>
> Matthew
>
>
> C:\Documents and Settings\Administrator\sca\modules\contribution-impl>mvn
> [INFO] Scanning for projects...
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Building Apache Tuscany SCA Contribution Model Implementation
> [INFO]    task-segment: [install]
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Nothing to compile - all classes are up to date
> [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] Surefire report directory: C:\Documents and
> Settings\Administrator\sca\modules\contribution-impl\target\surefire-reports
>
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running
> org.apache.tuscany.sca.contribution.resolver.ExtensibleModelResolverTestCase
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.063 sec
> Running
> org.apache.tuscany.sca.contribution.services.ContributionRepositoryTestCase
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.141 sec
> Running
> org.apache.tuscany.sca.contribution.impl.ContributionClassLoaderTestCase
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.062 sec
> Running
> org.apache.tuscany.sca.contribution.processor.JarContributionPackageProcessorTestCase
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
> Running
> org.apache.tuscany.sca.contribution.resolver.DefaultModelResolverTestCase
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
> Running
> org.apache.tuscany.sca.contribution.services.PackageTypeDescriberImplTestCase
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec
> Running
> org.apache.tuscany.sca.contribution.processor.FolderContributionPackageProcessorTestCase
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.016 sec
> <<< FAILURE!
> testProcessPackageArtifacts(org.apache.tuscany.sca.contribution.processor.FolderContributionPackageProcessorTestCase)
> Time elapse
> d: 0 sec  <<< ERROR!
> org.apache.tuscany.sca.contribution.service.ContributionReadException:
> file:/C:/Documents and Settings/Administrator/sca/modules/c
> ontribution-impl/./
>        at
> org.apache.tuscany.sca.contribution.processor.impl.FolderContributionProcessor.getArtifacts(FolderContributionProcessor
> .java:104)
>        at
> org.apache.tuscany.sca.contribution.processor.FolderContributionPackageProcessorTestCase.testProcessPackageArtifacts(Fo
> lderContributionPackageProcessorTestCase.java:41)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>        at java.lang.reflect.Method.invoke(Method.java:615)
>        at junit.framework.TestCase.runTest(TestCase.java:168)
>        at junit.framework.TestCase.runBare(TestCase.java:134)
>        at junit.framework.TestResult$1.protect(TestResult.java:110)
>        at junit.framework.TestResult.runProtected(TestResult.java:128)
>        at junit.framework.TestResult.run(TestResult.java:113)
>        at junit.framework.TestCase.run(TestCase.java:124)
>        at junit.framework.TestSuite.runTest(TestSuite.java:232)
>        at junit.framework.TestSuite.run(TestSuite.java:227)
>        at
> org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
>        at
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>        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:64)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>        at java.lang.reflect.Method.invoke(Method.java:615)
>        at
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:308)
>        at
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879)
> Caused by: java.net.URISyntaxException: Illegal character in path at index
> 18: file:/C:/Documents and Settings/Administrator/sca/m
> odules/contribution-impl/./
>        at java.net.URI$Parser.fail(URI.java:2821)
>        at java.net.URI$Parser.checkChars(URI.java:2994)
>        at java.net.URI$Parser.parseHierarchical(URI.java:3078)
>        at java.net.URI$Parser.parse(URI.java:3026)
>        at java.net.URI.<init>(URI.java:590)
>        at java.net.URL.toURI(URL.java:950)
>        at
> org.apache.tuscany.sca.contribution.processor.impl.FolderContributionProcessor.getArtifacts(FolderContributionProcessor
> .java:94)
>        ... 24 more
>
> Running
> org.apache.tuscany.sca.contribution.processor.URLartifactProcessorExtensionPointTestCase
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
>
> Results :
>
> Tests in error:
>
> testProcessPackageArtifacts(org.apache.tuscany.sca.contribution.processor.FolderContributionPackageProcessorTestCase)
>
> Tests run: 26, Failures: 0, Errors: 1, Skipped: 0
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] There are test failures.
>
> Please refer to C:\Documents and
> Settings\Administrator\sca\modules\contribution-impl\target\surefire-reports
> for the individual t
> est results.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 2 seconds
> [INFO] Finished at: Tue Feb 05 14:12:12 GMT 2008
> [INFO] Final Memory: 6M/21M
> [INFO]
> ------------------------------------------------------------------------
>
> C:\Documents and Settings\Administrator\sca\modules\contribution-impl>
>
>
>
>
>
> Unless stated otherwise above:
> IBM United Kingdom Limited - Registered in England and Wales with number
> 741598.
> Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
>
>
>
>
>
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Mime
View raw message