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
Contributor
rbork
Posts: 28
Registered: ‎06-10-2012
My Device: Blackberry 10 Dev Alpha
My Carrier: None
Accepted Solution

No bbwp.properties file in Blackberry 10 Webworks SDK installation

I'm trying to create a debug token according to directions indicated in docs:

"https://developer.blackberry.com/html5/documentation/ww_testing/runnning_unsigned_apps_using_a_debu..."

The web page says there is a " bbwp\bin" folder. I don't have this folder. 

Has there been a change to the SDK? If there has, what's the new proceedure? Or do I need to re-install the SDK?


Please use plain text.
Developer
biggerCC
Posts: 270
Registered: ‎12-13-2010
My Device: PlayBook 16GB, BB10 Dev Alpha
My Carrier: o2 (de)

Re: No bbwp.properties file in Blackberry 10 Webworks SDK installation

Hey, this information is probably outdated.

Just put the debugtoken.bar in your SDK folder (

/Developer/SDKs/Research In Motion/BlackBerry 10 WebWorks SDK 1.0.0.15 for me).

 

Here's a screenshot of that folder.

Bildschirmfoto 2012-06-18 um 22.19.22.png

- - -
My approved apps @ App World
Please use plain text.
Contributor
rbork
Posts: 28
Registered: ‎06-10-2012
My Device: Blackberry 10 Dev Alpha
My Carrier: None

Re: No bbwp.properties file in Blackberry 10 Webworks SDK installation

As you suggested, I place the debugtoken1.bar(also renamed to simply debugtoken.bar) in the webworks directory. Still get an installation failure:

Build complete, noe deploying...
...

Info: Sending request: Install and Launch
Info: Action: Install and Launch
Info: File size: 50317652
Info: Installing HelloWorldApp.testRel_LLoWorldApp4d162001...
Info: Processing 50317652 bytes
actual_dname::
actual_id::
result::failure 881 required signatures misssing <RDK, AUTHOR>

Please use plain text.
Developer
biggerCC
Posts: 270
Registered: ‎12-13-2010
My Device: PlayBook 16GB, BB10 Dev Alpha
My Carrier: o2 (de)

Re: No bbwp.properties file in Blackberry 10 Webworks SDK installation

I've got two more ideas:

 

  1. Did you build your app in debug mode ('-d' parameter)?
  2. Have you tried to regenerate a debug token? Make sure to use your PlayBook or DevAlphas PIN in the process...
- - -
My approved apps @ App World
Please use plain text.
Contributor
rbork
Posts: 28
Registered: ‎06-10-2012
My Device: Blackberry 10 Dev Alpha
My Carrier: None

Re: No bbwp.properties file in Blackberry 10 Webworks SDK installation

As you suggested, I repackaged app with -d switch in the bbwp command and attempted to deploy bar file (in my output/device folder)onto my dev alpha device. Still get the same fault. I don't have problems with deploying apps created with Blackberry Cascades(native app builder) so I think the debugtoken is ok.

Please use plain text.
Developer
biggerCC
Posts: 270
Registered: ‎12-13-2010
My Device: PlayBook 16GB, BB10 Dev Alpha
My Carrier: o2 (de)

Re: No bbwp.properties file in Blackberry 10 Webworks SDK installation

Did you create a new debug token during the Cascades setup process? This might be your problem. The debug token on your Dev Alpha must be the same one as the one you signed your app with.

- - -
My approved apps @ App World
Please use plain text.
Contributor
rbork
Posts: 28
Registered: ‎06-10-2012
My Device: Blackberry 10 Dev Alpha
My Carrier: None

Re: No bbwp.properties file in Blackberry 10 Webworks SDK installation

[ Edited ]

I created a new debugtoken using the instructions on the webworks "Using debug tokens" webpage. Succesfully created it, deployed it on device(first removed the previous one) and placed a copy in webworks sdk directory. But when trying to deploy an application to the device I get the following: 


result::failure 881 debug token not applicable to this device

 

( I did use the device pin shown in the devices Settings/About/Hardware view. Though there's some ambiguity between whats a number '0' and the letter 'O'. Assumed a '0' since it appears narrower in general on the device. )

Please use plain text.
Contributor
rbork
Posts: 28
Registered: ‎06-10-2012
My Device: Blackberry 10 Dev Alpha
My Carrier: None

Re: No bbwp.properties file in Blackberry 10 Webworks SDK installation

Ok. Need to try again. I mistook a number "8" for a letter "B" in the pin number.

Please use plain text.