Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13867] BlackBerry : Studio sample apps with spaces in project name fails to build & gives errors

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-05-25T21:11:25.000+0000
Affected Version/sn/a
Fix Version/s2013 Sprint 11 BB, 2013 Sprint 11, Release 3.1.1, Release 3.2.0
ComponentsBlackBerry
Labelsqe-testadded, sdk-bb
ReporterLokesh Choudhary
AssigneeRussell McMahon
Created2013-05-15T17:29:43.000+0000
Updated2014-06-19T12:43:07.000+0000

Description

Description: 1. Import the todo sample app from studio into the workspace 2. make sure it has 'blackberry' as deployment targets selected in the tiapp.xml 3. Now build & run on BB simulator or device. Actual Result: 1. The build fails & throws the following errors for Todo app:
[Command] :source /Applications/bbndk/bbndk-env.sh && blackberry-nativepackager -package "/Users/lokeshchoudhary/Desktop/BB_test_workspace/Todo List/build/blackberry/arm/o.le-v7/lchoudhary.Todo List.bar" bar-descriptor.xml -e "/Users/lokeshchoudhary/Desktop/BB_test_workspace/Todo List/build/blackberry/arm/o.le-v7/lchoudhary.Todo List" lchoudhary.Todo List -buildID 1 assets framework -devMode -debugToken /Applications/bbndk/debugtoken.bar 
Error: Command failed: recurse.mk:97: target List' given more than once in the same rule.
/Applications/bbndk/target_10_1_0_1020/qnx6/usr/include/mk/os_nto.mk:41: /Applications/bbndk/target_10_1_0_1020/qnx6/usr/include/mk/nto_.mk: No such file or directory
/Applications/bbndk/target_10_1_0_1020/qnx6/usr/include/mk/qtargets.mk:55: warning: overriding recipe for target /private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113415-3726-1vj9wdz-lchoudhary.Todo'
/Applications/bbndk/target_10_1_0_1020/qnx6/usr/include/mk/qtargets.mk:50: warning: ignoring old recipe for target /private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113415-3726-1vj9wdz-lchoudhary.Todo'
make[2]: *** No rule to make target /Applications/bbndk/target_10_1_0_1020/qnx6/usr/include/mk/nto_.mk'.  Stop.
make[1]: *** [List] Error 2
make: *** [List] Error 2

recurse.mk:97: target List' given more than once in the same rule.
/Applications/bbndk/target_10_1_0_1020/qnx6/usr/include/mk/os_nto.mk:41: /Applications/bbndk/target_10_1_0_1020/qnx6/usr/include/mk/nto_.mk: No such file or directory
/Applications/bbndk/target_10_1_0_1020/qnx6/usr/include/mk/qtargets.mk:55: warning: overriding recipe for target /private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113415-3726-1vj9wdz-lchoudhary.Todo'
/Applications/bbndk/target_10_1_0_1020/qnx6/usr/include/mk/qtargets.mk:50: warning: ignoring old recipe for target /private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113415-3726-1vj9wdz-lchoudhary.Todo'
make[2]: *** No rule to make target /Applications/bbndk/target_10_1_0_1020/qnx6/usr/include/mk/nto_.mk'.  Stop.
make[1]: *** [List] Error 2
make: *** [List] Error 2

make -j 1 -Carm -fMakefile List
make[1]: Entering directory /private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113415-3726-1vj9wdz-lchoudhary.Todo List/build/blackberry/arm'
make -j 1 -Co.le-v7 -fMakefile List 
make[2]: Entering directory /private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113415-3726-1vj9wdz-lchoudhary.Todo List/build/blackberry/arm/o.le-v7'
make[2]: Leaving directory /private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113415-3726-1vj9wdz-lchoudhary.Todo List/build/blackberry/arm/o.le-v7'
make[1]: Leaving directory /private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113415-3726-1vj9wdz-lchoudhary.Todo List/build/blackberry/arm'
[Command] :source /Applications/bbndk/bbndk-env.sh && blackberry-deploy -installApp -launchApp -device 169.254.2.9 -package "/Users/lokeshchoudhary/Desktop/BB_test_workspace/Todo List/build/blackberry/arm/o.le-v7/lchoudhary.Todo List.bar" -password password 
Error: Command failed: Error: File or dir does not exist: /Users/lokeshchoudhary/Desktop/BB_test_workspace/Todo List/build/blackberry/arm/o.le-v7/lchoudhary.Todo List

Error: File or dir does not exist: /Users/lokeshchoudhary/Desktop/BB_test_workspace/Todo List/build/blackberry/arm/o.le-v7/lchoudhary.Todo List


Error: Command failed: Error: File does not exist or not a file or cannot read: /Users/lokeshchoudhary/Desktop/BB_test_workspace/Todo List/build/blackberry/arm/o.le-v7/lchoudhary.Todo List.bar 

Error: File does not exist or not a file or cannot read: /Users/lokeshchoudhary/Desktop/BB_test_workspace/Todo List/build/blackberry/arm/o.le-v7/lchoudhary.Todo List.bar 
Error Logs for RSS Reader app :
[Command] :source /Applications/bbndk/bbndk-env.sh && blackberry-nativepackager -package "/Users/lokeshchoudhary/Desktop/BB_test_workspace/RSS Reader/build/blackberry/arm/o.le-v7/lchoudhary.RSS Reader.bar" bar-descriptor.xml -e "/Users/lokeshchoudhary/Desktop/BB_test_workspace/RSS Reader/build/blackberry/arm/o.le-v7/lchoudhary.RSS Reader" lchoudhary.RSS Reader -buildID 1 assets framework -devMode -debugToken /Applications/bbndk/debugtoken.bar 
Error: Command failed: recurse.mk:97: target Reader' given more than once in the same rule.
/Applications/bbndk/target_10_1_0_1020/qnx6/usr/include/mk/os_nto.mk:41: /Applications/bbndk/target_10_1_0_1020/qnx6/usr/include/mk/nto_.mk: No such file or directory
/Applications/bbndk/target_10_1_0_1020/qnx6/usr/include/mk/qtargets.mk:55: warning: overriding recipe for target /private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113415-7659-7feqe8-lchoudhary.RSS'
/Applications/bbndk/target_10_1_0_1020/qnx6/usr/include/mk/qtargets.mk:50: warning: ignoring old recipe for target /private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113415-7659-7feqe8-lchoudhary.RSS'
make[2]: *** No rule to make target /Applications/bbndk/target_10_1_0_1020/qnx6/usr/include/mk/nto_.mk'.  Stop.
make[1]: *** [Reader] Error 2
make: *** [Reader] Error 2




recurse.mk:97: target Reader' given more than once in the same rule.
/Applications/bbndk/target_10_1_0_1020/qnx6/usr/include/mk/os_nto.mk:41: /Applications/bbndk/target_10_1_0_1020/qnx6/usr/include/mk/nto_.mk: No such file or directory
/Applications/bbndk/target_10_1_0_1020/qnx6/usr/include/mk/qtargets.mk:55: warning: overriding recipe for target /private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113415-7659-7feqe8-lchoudhary.RSS'
/Applications/bbndk/target_10_1_0_1020/qnx6/usr/include/mk/qtargets.mk:50: warning: ignoring old recipe for target /private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113415-7659-7feqe8-lchoudhary.RSS'
make[2]: *** No rule to make target /Applications/bbndk/target_10_1_0_1020/qnx6/usr/include/mk/nto_.mk'.  Stop.
make[1]: *** [Reader] Error 2
make: *** [Reader] Error 2




make -j 1 -Carm -fMakefile Reader
make[1]: Entering directory /private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113415-7659-7feqe8-lchoudhary.RSS Reader/build/blackberry/arm'
make -j 1 -Co.le-v7 -fMakefile Reader 
make[2]: Entering directory /private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113415-7659-7feqe8-lchoudhary.RSS Reader/build/blackberry/arm/o.le-v7'
make[2]: Leaving directory /private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113415-7659-7feqe8-lchoudhary.RSS Reader/build/blackberry/arm/o.le-v7'
make[1]: Leaving directory /private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113415-7659-7feqe8-lchoudhary.RSS Reader/build/blackberry/arm'
[Command] :source /Applications/bbndk/bbndk-env.sh && blackberry-deploy -installApp -launchApp -device 169.254.2.9 -package "/Users/lokeshchoudhary/Desktop/BB_test_workspace/RSS Reader/build/blackberry/arm/o.le-v7/lchoudhary.RSS Reader.bar" -password password 
Error: Command failed: Error: File or dir does not exist: /Users/lokeshchoudhary/Desktop/BB_test_workspace/RSS Reader/build/blackberry/arm/o.le-v7/lchoudhary.RSS Reader




Error: File or dir does not exist: /Users/lokeshchoudhary/Desktop/BB_test_workspace/RSS Reader/build/blackberry/arm/o.le-v7/lchoudhary.RSS Reader








Error: Command failed: Error: File does not exist or not a file or cannot read: /Users/lokeshchoudhary/Desktop/BB_test_workspace/RSS Reader/build/blackberry/arm/o.le-v7/lchoudhary.RSS Reader.bar 




Error: File does not exist or not a file or cannot read: /Users/lokeshchoudhary/Desktop/BB_test_workspace/RSS Reader/build/blackberry/arm/o.le-v7/lchoudhary.RSS Reader.bar 
Expected Result: 1. The todo app should build & run successfully on the device & the simulator

Comments

  1. Lokesh Choudhary 2013-05-15

    If you see error logs for both the apps are similar. I am guessing the space in the app name might be causing the issue.
  2. Russell McMahon 2013-05-25

    Fixed by related bug 12361

JSON Source