02-07-2011 02:20 PM
I used eclipse to compile the tablet example (sketchPad) and when it compiles it says it is successful:
cmd.exe /c bbwp C:\Blackberry\PlaybookSample\sketchPad\build\sketc
hPad.zip /o C:\Blackberry\PlaybookSample\sketchPad\build [INFO] Parsing command line options [INFO] Parsing bbwp.properties [INFO] Validating application archive [INFO] Parsing config.xml [INFO] Populating application source [INFO] Compiling BlackBerry WebWorks application [INFO] Generating output files [INFO] BlackBerry WebWorks application packaging complete BUILD SUCCESS ***************************
but when I look at the files produced I don't get a .bar file which is needed to install it on the simulator.
Under the build folder I get 2 folders: OTAInstall and StandardInstall.
OTAInstall has: 2 .cod files and 1 .jad file
StandardInstall has: .axl, .cod, .csl, .cso
Solved! Go to Solution.
02-07-2011 03:10 PM
The Eclipse WebWorks tooling is for BlackBerry Smartphones only. The WebWorks SDK Beta for the Tablet OS is a command line tool.
When you build your application in Eclipse, it is building against the Smartphone WebWorks SDK.
02-07-2011 03:44 PM
Thank you. That makes sense. I was able to get the .bar file thru the command line, but now when I try to deploy it to the simulator I get:
Sending Install request...
Error: Username or password is invalid or not specified or time on the device is out of sync
Here is my command line statement
blackberry-deploy -installApp -password 123 -device 192.168.193.128 -package C:\Blackberry\PlaybookSample\sketchPad\build\sketc
02-07-2011 04:01 PM
Make sure that the date time on the simulator matches your PC.. Also ensure that the simulator is set to developer mode in the PlayBook Security settings.
02-07-2011 04:02 PM
I was able to get it installed. It was because the time was out of synch with my system. I didn't think manually setting it would work. I was looking for some "synch system time" button or something. :-)