[TIMOB-9134] BlackBerry: Detect spaces in temp directory when running unit tests when they are hidden by 8.3 format in Windows
GitHub Issue | n/a |
---|---|
Type | Story |
Priority | Low |
Status | Closed |
Resolution | Won't Fix |
Resolution Date | 2013-03-22T22:23:40.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | BlackBerry |
Labels | n/a |
Reporter | David Lifshitz |
Assignee | Russell McMahon |
Created | 2012-05-15T08:55:30.000+0000 |
Updated | 2017-03-09T19:43:29.000+0000 |
Description
Currently the unit tests create a temp project folder in the temp folder, but the default location on Windows XP (or if the user changed it) contains spaces. For some reason python receives this in 8.3 format (eg C:\DOCUME~1\\LOCALS~1\Temp and there doesn't seem to be a built-in python way to expand the string to detect spaces. The build fails when there are spaces so this should be fixed.
Note: the default temp folder on Windows 7 (and probably Vista) is fine: C:\Users\\AppData\Local\Temp
Closing ticket as the issue won't fix.