surefire:surefire failes when there are spaces in directory names -----------------------------------------------------------------
Key: SUREFIRE-359 URL: http://jira.codehaus.org/browse/SUREFIRE-359 Project: Maven Surefire Issue Type: Bug Components: JUnit 3.x support Affects Versions: 2.4 Environment: linux maven 2.0.7 surefire-2.4-snapshot Reporter: Jeff Black This issue is similar to others filed, but specific enough I wanted to report it separately. On an ubunu linux system, if I checkout a maven project into a directory with spaces in the full path, surefire will fail the build before the tests are actually executed. (Spaces in the path occur, for example, when I build a Hudson job with spaces in the project name.) [INFO] [clean:clean] [INFO] Deleting directory /home/hudson/.hudson/jobs/sto dirspaces/workspace/persistence/target [INFO] Deleting directory /home/hudson/.hudson/jobs/sto dirspaces/workspace/persistence/target/classes [INFO] Deleting directory /home/hudson/.hudson/jobs/sto dirspaces/workspace/persistence/target/test-classes [INFO] Deleting directory /home/hudson/.hudson/jobs/sto dirspaces/workspace/persistence/target/site [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [compiler:compile] [INFO] Compiling 50 source files to /home/hudson/.hudson/jobs/sto dirspaces/workspace/persistence/target/classes [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] [compiler:testCompile] [INFO] Compiling 14 source files to /home/hudson/.hudson/jobs/sto dirspaces/workspace/persistence/target/test-classes [INFO] [surefire:test] [INFO] Surefire report directory: /home/hudson/.hudson/jobs/sto dirspaces/workspace/persistence/target/surefire-reports /bin/bash: line 0: cd: /home/hudson/.hudson/jobs/sto: No such file or directory [ERROR] There are test failures. -- 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