Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Highlighted
New Developer
Posts: 34
Registered: ‎09-30-2010
My Device: Not Specified
Accepted Solution

Tablet install no .bar file

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\sketchPad.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

 

Ideas?

New Developer
Posts: 34
Registered: ‎09-30-2010
My Device: Not Specified

Re: Tablet install no .bar file

Interesting if I run the exact same command outside the IDE it creates the .bar file.  Why?

Retired
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: Tablet install no .bar file

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.

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
New Developer
Posts: 34
Registered: ‎09-30-2010
My Device: Not Specified

Re: Tablet install no .bar file

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\sketchPad.bar

 

 

 

 

Retired
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: Tablet install no .bar file

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.

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
New Developer
Posts: 34
Registered: ‎09-30-2010
My Device: Not Specified

Re: Tablet install no .bar file

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.  :-)