01-30-2011 02:31 AM
So after installing the sdk, I finally was able to run bbwp for the sample app. But I get this:
I do have the SDK installed, so why isn't it recognizing it?
Any ideas would be incredibly helpful!
01-31-2011 06:20 PM
Can you confirm there is a folder titled "blackberry-tablet-sdk" within the \bbwp location of the WebWorks SDK install location?
C:\Program Files\Research In Motion\BlackBerry WebWorks Packager for PlayBook\bbwp\blackberry-tablet-sdk
Have you setup any special system variables (e.g. PATH) that may have changed the way that this SDK is found?
Finally - what OS are you using?
02-03-2011 01:35 AM
Yes, the "blackberry-tablet-sdk" folder exists in my blackberry webworks folder.
I'm running OS X (snow leopard), so it's Applications/BlackberryWebworks/blackberry-tablet-
I previously put the folder path of the blackberryWebworks folder in my Path ("open .profile" in terminal) as
but have since taken those out. I have run the bbwp.properties and the installvariables.properties files that came with the sdk. (i'm a newb when it comes to Path/terminal stuff, so should i have anything in there?)
Thanks for the help, astanley!
03-27-2011 11:17 PM
Did you ever figure this issue out? I'm getting the same exact problem. I can't believe that the documentation actually has "for Mac Developers" in the title and yet uses DOS/Window command line examples.
I'm wondering if some special environment variables need to be set, but the docs so far don't mention anything.
$ lsAirAppTemplates binInstallScript.iap_xml blackberry-tablet-sdkSDK_license_English.txt extUninstall BlackBerry WebWorks SDK for PlayBook.app installvariables.propertiesbbwp$ ./bbwp ~/Code/BBWW/sketchPadStandard.zip -o ~/Code/BBWW/output[INFO] Parsing command line options[INFO] Parsing bbwp.properties[ERROR] Failed to find the tablet SDK$ lsAirAppTemplates binInstallScript.iap_xml blackberry-tablet-sdkSDK_license_English.txt extUninstall BlackBerry WebWorks SDK for PlayBook.app installvariables.propertiesbbwp$ ./bbwp ~/Code/BBWW/sketchPadStandard.zip -o ~/Code/BBWW/output[INFO] Parsing command line options[INFO] Parsing bbwp.properties[ERROR] Failed to find the tablet SDK
03-27-2011 11:49 PM
I actually just figured it out. Though, by now, I hope you did too. But for anyone else getting here by Googling the error message ...
When the packager is installed, it also writes out a properties file that contains the pathname to the SDK install location. Interestingly, the bbwp command is not in it's ./bin directory (but that's another story) - it's one level above it.
But, if you go into the bbwp/bin directory, there will be a bbwp.properties file. Interestingly, it's an XML file and not a flat properties file (but that's yet another story).
Use a text editor to modify that file. Find a line that looks like this:
$ pwd/Applications/Dev/BBPlayBook/bbwp$ cd blackberry-tablet-sdk/$ pwd | pbcopy$ cd ..$ vim .. bin/bbwp.properties