Defect #119
Can't use paths with spaces.
| Status: | Closed | Start date: | 12/22/2009 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 100% |
||
| Category: | - | |||
| Target version: | 0.3.0 | |||
| Tags: | ||||
| Votes: | 0 |
Description
Fails to use a preload script if includes whitespace character in project repository path. preload script path separates invalid.
Here is ARGV var_dump sample in runner script. This sample case, a project repos directory path is "C:/Program Files/Apache Software Foundation/path/to/repos", and sets a preload script path is "/tests/prepare.php" in Windows.
Content-type: text/html
array(14) {
[0]=>
string(84)
"C:\DOCUME~1\Foo~1\LOCALS~1\Temp\com.piece_framework.makegood.launch\phpunitrunner"
[1]=>
string(2) "-p"
[2]=>
string(10) "C:/Program"
[3]=>
string(12) "Files/Apache"
[4]=>
string(8) "Software"
[5]=>
string(52) "Foundation/path/to/repos/tests/prepare.php"
[6]=>
string(108)
"--log-junit=C:\DOCUME~1\Foo~1\LOCALS~1\Temp\com.piece_framework.makegood.launch\MakeGood1234567890123.xml"
[7]=>
string(9) "--classes"
[8]=>
string(14) "Example_ClassTest"
[9]=>
string(2) "-R"
[10]=>
string(10) "C:/Program"
[11]=>
string(12) "Files/Apache"
[12]=>
string(8) "Software"
[13]=>
string(63) "Foundation/path/to/repos/tests/lib/Example/ClassTest.php"
}
Resources
Associated revisions
Improved generateParameter() to quote the paths. (Issue #119)
Added a patch for org.eclipse.php.debug.core. (Issue #119)
History
Updated by Atsuhiro KUBO over 3 years ago
- Subject changed from Can't use a preload script if includes whitespace in project repository path to Can't use paths with spaces.
- Status changed from New to Assigned
- Assignee set to Hideharu MATSUFUJI
- Target version set to 0.2.0
Updated by Atsuhiro KUBO over 3 years ago
- Target version changed from 0.2.0 to 0.3.0
Updated by Atsuhiro KUBO over 3 years ago
- Priority changed from Normal to High
Updated by Atsuhiro KUBO over 3 years ago
- Priority changed from High to Normal
Updated by Hideharu MATSUFUJI over 3 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100