Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13190] BlackBerry: support project creation with multiple deployment targets

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-05-17T05:25:27.000+0000
Affected Version/sn/a
Fix Version/s2013 Sprint 07 BB, 2013 Sprint 07, Release 3.1.1, Release 3.2.0
ComponentsBlackBerry
Labelsqe-3.1.0, qe-testadded, sdk-bb
ReporterLokesh Choudhary
AssigneeRussell McMahon
Created2013-03-25T17:57:52.000+0000
Updated2014-02-20T18:07:24.000+0000

Description

Description: 1.Create a default app with templates in the studio & select other deploy targets along with blackberry 2.Now open the resources folder of the created app in studio Actual Result: 1.The 'blackberry' folder does not get created in the resources folder as 'android','iphone','mobileweb' 2.due to this running the app gives errors:
[INFO] Running
    retCode = builder.run(ipAddress, devicePassword, debugToken, storePass, outputDir)
  File "/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.1.0.v20130204182020/blackberry/builder.py", line 78, in run
    resources = os.listdir(self.blackberryResources)
OSError: [Errno 2] No such file or directory: '/Users/lokeshchoudhary/Desktop/Titanium BB Workspace/default_123/Resources/blackberry'[INFO] Running
    retCode = builder.run(ipAddress, devicePassword, debugToken, storePass, outputDir)
  File "/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.1.0.v20130204182020/blackberry/builder.py", line 78, in run
    resources = os.listdir(self.blackberryResources)
OSError: [Errno 2] No such file or directory: '/Users/lokeshchoudhary/Desktop/Titanium BB Workspace/default_123/Resources/blackberry'
NOTE : If we create a default app with only blackberry as target then the 'blackberry' folder is getting created Expected Result: 1.The 'blackberry' folder gets created along with other targets

Comments

  1. Russell McMahon 2013-04-02

    Added support for bb node based project creation into the latest BB SDK master. The command should be the same as other platforms.
  2. Russell McMahon 2013-04-05

    Investigated but made more sense to just use new CLI. This should now be fixed in latest SDK.
  3. Lokesh Choudhary 2013-04-09

    Verified the fix & the BB folder gets created in the resources folder when BlackBerry is selected with other platforms as deployment targets. Thus closing. Environment: Ti Studio : 3.1.0.201304051530 Ti BB SDK : 3.2.0.v20130409153013 Mac OSX : 10.8.2 win 7 Win 8 BB simulator : 10.0.10.261 Z10 device running 10.0.10.88

JSON Source