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
Regular Visitor
bugloaf
Posts: 1
Registered: ‎02-10-2011
My Device: PlayBook
Accepted Solution

Newbie: Can't compile SketchPad application for PlayBook

I'm working through the PlayBook Simulator first-timer instructions and I got this far: Compile a BlackBerry WebWorks application

 

I downloaded the SketchPad Standard archive and issued the compile command, and this is what I got:

 

 

C:\Program Files (x86)\Research In Motion\BlackBerry WebWorks Packager for PlayB
ook\bbwp>bbwp c:\Users\Lane\Downloads\sketchPadStandard.zip /s archive_source /o
 compiled /v
[INFO]                  Parsing command line options
[INFO]                  Parsing bbwp.properties
[INFO]                  Validating WebWorks archive
[INFO]                  Parsing config.xml
[INFO]                  Validating config.xml
[INFO]                  Validating application version
[WARNING]               Failed to find a <feature> element
[INFO]                  Validating the <name> element
[INFO]                  Validating the <author> element
[INFO]                  Populating application source
[ERROR]                 Failed to read device templates

 

 

What do I do now?

 

Thanks.

Please use plain text.
New Developer
pnewhook
Posts: 70
Registered: ‎01-13-2011
My Device: Torch 9800 and Playbook
My Carrier: Rogers

Re: Newbie: Can't compile SketchPad application for PlayBook

I'm getting the exact same error. Anyone know how I can specify where my device template. 

 

Has anyone actually been able to start developing with this SDK? It seems like so far the only messages have been about installing and compiling the sample.

Please use plain text.
Developer
Heiko
Posts: 125
Registered: ‎01-17-2011
My Device: Playbook
My Carrier: Vodacom

Re: Newbie: Can't compile SketchPad application for PlayBook

[ Edited ]

 

Hi bugloaf 

 

If you run 

 

 

bbwp c:\Users\Lane\Downloads\sketchPadStandard.zip

 

 

then your compile should work.

 

If you need to specify paths the try absolute paths 

 

 

C:\Program Files (x86)\Research In Motion\BlackBerry WebWorks Packager for PlayBook\bbwp>bbwp c:\Users\Lane\Downloads\sketchPadStandard.zip /s c:\OUT_DIR /o c:\OUT_DIR\compiled /v

 

 

Njoy coding :smileywink:

.H

 

 

 

 

 

 

 

 

Please use plain text.
New Contributor
l2chiu
Posts: 2
Registered: ‎02-14-2011
My Device: Not Specified

Re: Newbie: Can't compile SketchPad application for PlayBook

Hi heiko, I'm in the same boat as the first 2 posters, I get the exact same error.

 

I've tried the commands that you suggested and I get the exact same errors. I used the SketchPad standard application and also a helloWorld app that I copied from the webcast shown in Feb 1, 2011.

 

I'm starting to think it's the beta 2 version of the SDK that's causing issues.

 

 

Regards,

Lucas

Please use plain text.
Developer
Heiko
Posts: 125
Registered: ‎01-17-2011
My Device: Playbook
My Carrier: Vodacom

Re: Newbie: Can't compile SketchPad application for PlayBook

[ Edited ]

Hi Lucas

 

I think bugloaf got his app to compile, since he marked  solution solved (and gave kudos :smileyhappy: ).

I had tried his commands and could recreate the error, and using my recommeded ones it worked.

 

Works on beta 2 & 3 - (simulator)

 

- What exactly are you typing at the command prompt

- What error do you get

- Add /v (verbose) to get more info

- What version of the WebWorks SDK are you using (11.5.0.0 is the latest - I think)

- What OS ?

 

.H

 

 

Please use plain text.
New Contributor
l2chiu
Posts: 2
Registered: ‎02-14-2011
My Device: Not Specified

Re: Newbie: Can't compile SketchPad application for PlayBook

Hi Heiko,

 

You know what, with me, I've tried everything aside from restart my computer and that basically fixed the issue, sorry for adding more clutter to this topic.

 

 

Regards,

Lucas

Please use plain text.