[ 
https://issues.apache.org/jira/browse/CXF-3134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Kulp resolved CXF-3134.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.3.2


We now have a windows build setup in hudson with spaces in both the  path to 
the svn checkout as well as the maven repo.   Hopefully that will catch these 
errors sooner from now on.

> Build fails when a space is included in the directory URL.
> ----------------------------------------------------------
>
>                 Key: CXF-3134
>                 URL: https://issues.apache.org/jira/browse/CXF-3134
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.3.0
>         Environment: Microsoft Windows XP, JDK 1.6, CXF 2.3.0
>            Reporter: Robert Liguori
>             Fix For: 2.3.2
>
>
> The maven build process is unsuccessful when the cxf folders are subfolders 
> of a folder that contains a space.
> That is, running "mvn install" here  works fine: 
> C:\_Stacks\_CXF\apache-cxf-2.3.0-src\apache-cxf-2.3.0-src\
> However, running "mvn install" with a space included fails the build (notice 
> the space between _Space and Stacks):
> C:\_Space Stacks\_CXF\apache-cxf-2.3.0-src\apache-cxf-2.3.0-src\
> Build output:
> ...
> ------------------------------------------------------------------------
> [INFO] Building Apache CXF Runtime Core
> [INFO]    task-segment: [install]
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] [checkstyle:checkstyle {execution: validate}]
> [INFO] Starting audit...
> Audit done.
> [INFO] Preparing pmd:check
> [INFO] [pmd:pmd {execution: pmd}]
> [INFO] [pmd:check {execution: validate}]
> [INFO] 
> [INFO] [cxf-xml2fastinfoset:xml2fastinfoset {execution: xml2fastinfoset}]
> [INFO] [remote-resources:process {execution: default}]
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 14 resources
> [INFO] Copying 8 resources
> [INFO] skip non existing resourceDirectory C:\_Space 
> Stacks\_CXF\apache-cxf-2.3.0-src\apache-cxf-2.3.0-src\rt\core\src\main\resources-filtered
> [INFO] Copying 1 resource
> [INFO] Copying 3 resources
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [resources:testResources {execution: default-testResources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 19 resources
> [INFO] Copying 30 resources
> [INFO] skip non existing resourceDirectory C:\_Space 
> Stacks\_CXF\apache-cxf-2.3.0-src\apache-cxf-2.3.0-src\rt\core\target\generated\src\test\resources
> [INFO] Copying 3 resources
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [surefire:test {execution: default-test}]
> [INFO] Surefire report directory: C:\_Space 
> Stacks\_CXF\apache-cxf-2.3.0-src\apache-cxf-2.3.0-src\rt\core\target\surefire-reports
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.cxf.bus.extension.ExtensionTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.156 sec
> Running org.apache.cxf.interceptor.ServiceInvokerInterceptorTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.141 sec
> Running org.apache.cxf.endpoint.ServerRegistryImpTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
> Running org.apache.cxf.endpoint.EndpointResolverRegistryImplTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.125 sec
> Running org.apache.cxf.bus.spring.BusApplicationContextTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.812 sec
> Running org.apache.cxf.workqueue.AutomaticWorkQueueTest
> Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.657 sec
> Running org.apache.cxf.transport.ChainInitiationObserverTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.062 sec
> Running org.apache.cxf.bus.CXFBusImplTest
> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.078 sec
> Running org.apache.cxf.interceptor.OutgoingChainInterceptorTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.125 sec
> Running org.apache.cxf.wsdl11.WSDLServiceBuilderTest
> Tests run: 16, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.641 sec 
> <<< FAILURE!
> testImport(org.apache.cxf.wsdl11.WSDLServiceBuilderTest)  Time elapsed: 0.172 
> sec  <<< FAILURE!
> java.lang.AssertionError: 
>       at org.junit.Assert.fail(Assert.java:91)
>       at org.junit.Assert.assertTrue(Assert.java:43)
>       at org.junit.Assert.assertNotNull(Assert.java:524)
>       at org.junit.Assert.assertNotNull(Assert.java:535)
>       at 
> org.apache.cxf.wsdl11.WSDLServiceBuilderTest.testImport(WSDLServiceBuilderTest.java:488)
>       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:597)
>       at 
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
>       at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
>       at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
>       at 
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
>       at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
>       at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
>       at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
>       at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
>       at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
>       at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
>       at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
>       at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
>       at 
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
>       at 
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:120)
>       at 
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:103)
>       at org.apache.maven.surefire.Surefire.run(Surefire.java:169)
>       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:597)
>       at 
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
>       at 
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
> Running org.apache.cxf.attachment.AttachmentSerializerTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.219 sec
> Running org.apache.cxf.wsdl11.ServiceWSDLBuilderTest
> Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.062 sec
> Running org.apache.cxf.interceptor.DocLiteralInInterceptorTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.281 sec
> Running org.apache.cxf.bus.spring.SpringBusFactoryTest
> Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.469 sec
> Running org.apache.cxf.bus.extension.ExtensionFragmentParserTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
> Running org.apache.cxf.transport.CachedOutputStreamTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.125 sec
> Running org.apache.cxf.bus.spring.BusDefinitionParserTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.172 sec
> Running org.apache.cxf.wsdl11.WSDLDefinitionBuilderTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.297 sec
> Running org.apache.cxf.buslifecycle.CXFBusLifeCycleManagerTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
> Running org.apache.cxf.interceptor.PrettyLoggingOutInterceptorTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.063 sec
> Running org.apache.cxf.test.XPathAssertTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.109 sec
> Running org.apache.cxf.wsdl11.WSDLManagerImplTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
> Running org.apache.cxf.endpoint.ServiceContractResolverRegistryImplTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 sec
> Running org.apache.cxf.configuration.spring.ConfigurerImplTest
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.187 sec
> Running org.apache.cxf.transport.HttpUriMapperTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
> Running org.apache.cxf.bus.extension.ExtensionManagerTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
> Running org.apache.cxf.attachment.AttachmentDeserializerTest
> Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.266 sec
> Running org.apache.cxf.interceptor.security.SimpleAuthorizingInterceptorTest
> Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.109 sec
> Results :
> Failed tests: 
>   testImport(org.apache.cxf.wsdl11.WSDLServiceBuilderTest)
> Tests run: 118, Failures: 1, Errors: 0, Skipped: 0
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] There are test failures.
> Please refer to C:\_Space 
> Stacks\_CXF\apache-cxf-2.3.0-src\apache-cxf-2.3.0-src\rt\core\target\surefire-reports
>  for the individual test results.
> ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to