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
Posts: 11
Registered: ‎02-22-2014
My Device: Z10
My Carrier: Blazedream Technologies
Accepted Solution

bbwp is not recognised as internal or external command

I am getting the following error while signing my application in bb10 webwroks.

"bbwp is not recognised as internal or external command"

 

exected the following command:

bbwp C:\sample\sample.zip -g blaze2014 --buildId 10 -o C:\sample

 

 

anyone pls help me with solution.

Developer
Posts: 33
Registered: ‎10-29-2013
My Device: BB10
My Carrier: TMO

Re: bbwp is not recognised as internal or external command

you need to include webworks binaries into your PATH environmental variable.

Contributor
Posts: 11
Registered: ‎02-22-2014
My Device: Z10
My Carrier: Blazedream Technologies

Re: bbwp is not recognised as internal or external command

[ Edited ]

You mean saying about bin folder to be included in PATH variable?

 

i have tried with

 

C:\Program Files\BlackBerry\BB10 WebWorks SDK 2.0.0.54\cordova-blackberry\bin

 

and also

 

C:\Program Files\BlackBerry\BB10 WebWorks SDK 2.0.0.54\cordova-blackberry\bin\dependencies\bb-tools\bin

 

but again same error persists

 

Developer
Posts: 185
Registered: ‎08-17-2008
My Device: Red BlackBerry Z10
My Carrier: Vodafone

Re: bbwp is not recognised as internal or external command

You are using wrong command, bbwp is a webworks 1.0 SDK.

And you are using Webworks SDK 2.0, you have to use: webworks run or webworks build commands

 

Take a look to:

https://developer.blackberry.com/html5/documentation/v2_0/build_and_sign_your_app.html

Josep Maria
Contributor
Posts: 11
Registered: ‎02-22-2014
My Device: Z10
My Carrier: Blazedream Technologies

Re: bbwp is not recognised as internal or external command

[ Edited ]

i have run the following command in command prompt:

 

webworks C:\sample
n\sample.zip -g blaze2014 --buildId 10 -o C:\sample

but getting following error:
Cordova does not know C:\sample\sample.zip; try help for a lis
t of all the available commands.

can anyone pls suggest how to signing bb10 application using webworks sdk v2.0 beta.

i am following this link:
https://developer.blackberry.com/html5/documentation/v1_0/signing_your_app_1920008_11.html

in the above link i m getting 'bbwp' is not an internal or external command.

Retired
Posts: 1,561
Registered: ‎04-12-2010
My Device: BlackBerry Z10
My Carrier: Bell

Re: bbwp is not recognised as internal or external command

Hi there, that documentation is for the 1.0 SDK.

To build a project with WebWorks 2.0 for release, you will want to use a command similar to this:
webworks build --release --keystorepass STOREPASS

Where STOREPASS is your code signing password.

You'll need to execute this command from the root folder of your WebWorks 2.0 project.

Erik Oros | @WaterlooErik | eoros@blackberry.com | Developer Issue Tracker

If a reply has answered your question, please click Accept as Solution to help other visitors in the future.
Developer
Posts: 58
Registered: ‎06-28-2013
My Device: Z10
My Carrier: None

Re: bbwp is not recognised as internal or external command

Perhaps you should consider updating your docs: http://developer.blackberry.com/html5/documentation/v2_1/enabling_web_inspector.html

 

I spent a couple of hours trying to find out where to run bbwp from...

Retired
Posts: 1,561
Registered: ‎04-12-2010
My Device: BlackBerry Z10
My Carrier: Bell

Re: bbwp is not recognised as internal or external command

Ah yes, thanks for that. It seems the old documentation was carried over without being updated to the new process. I'll inform the Documentation Team to have this looked at.

Sincere apologies for the impact this had on your end. I do appreciate your input in helping us improve the docs too.

Cheers!

Erik Oros | @WaterlooErik | eoros@blackberry.com | Developer Issue Tracker

If a reply has answered your question, please click Accept as Solution to help other visitors in the future.