blackberry-webworks/BB10-Webworks-Packager — Issue #17: Cannot run bbwp.bat if the CI build is extracted into a directory that contains spaces
Author: ishneur
Created: 2012-02-22 16:32:33+00:00
State: open
Labels: Bug

Steps to reproduce:
1. Extracted CI build BB10webworks-1.0.0.0 into "C:\Program Files\Research In Motion\BB10webworks-1.0.0.0"
2. Ran bbwp to package an application

The following error occurs:
C:\Program Files\Research In Motion\BB10webworks-1.0.0.0>bbwp C:\Tumbler\MyWidge
ts\BB10\US14269\VersionValidABC.zip

C:\Program Files\Research In Motion\BB10webworks-1.0.0.0>C:\Program Files\Resear
ch In Motion\BB10webworks-1.0.0.0\dependencies\node\node.exe C:\Program Files\Re
search In Motion\BB10webworks-1.0.0.0\lib\bbwp.js C:\Tumbler\MyWidgets\BB10\US14
269\VersionValidABC.zip
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.

Workaround: In bbwp.bat, I placed quotes around the directory paths, as follows - "%~dp0dependencies\node\node.exe" "%~dp0lib\bbwp.js" %*