blackberry / BB10-Webworks-Packager

The BB10 WebWorks Packager bundles the App content with the BB10 WebWorks Framework to create a BAR to run on the BB10 Device (or simulator)
27 stars 18 forks source link

WebWorks hardcodes the debug token in the same folder as the bbwp file and all documentation is wrong #189

Closed nukulb closed 11 years ago

nukulb commented 12 years ago

All this documentation talks about a properties file. There is properties file for WebWorks BB10- https://developer.blackberry.com/html5/documentation/running_your_bb10_app_2008471_11.html

Here is how debug tokens really work

generate a debug token and then put it in the same folder as the bbwp

And then it seems to work

nukulb commented 12 years ago

@bpaduch ^^ @jkeshavarzi - Can you please provide real docs? Please open an issue on the Microsite @kwallis

nukulb commented 12 years ago

This line is wrong instead- There is a element in bbwp.properties and it contains the full pathname of a valid debug token file.

Place your debug token in the same folder as your bbwp and call it debugtoken.bar

ghost commented 12 years ago

I believe that the debug token element in the bbwp.properties file is relevant but only for PlayBook OS, yes?

nukulb commented 12 years ago

Yes

There is no properties file on bb10 Its just hard coded to certain name and user needs to put it there

~Nukul

From: Barb Paduch [mailto:notifications@github.com] Sent: Monday, September 17, 2012 08:52 AM To: blackberry/BB10-Webworks-Packager BB10-Webworks-Packager@noreply.github.com Cc: Nukul Bhasin Subject: Re: [BB10-Webworks-Packager] WebWorks hardcodes the debug token in the same folder as the bbwp file and all documentation is wrong (#189)

I believe that the debug token element in the bbwp.properties file is relevant but only for PlayBook OS, yes?

— Reply to this email directly or view it on GitHubhttps://github.com/blackberry/BB10-Webworks-Packager/issues/189#issuecomment-8612944.


This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.

ghost commented 12 years ago

I've updated the docs; removing the bit about bbwp.properties folder for BB10. Latest docs are found here: http://wbt20ykf/html5/documentation/runnning_unsigned_apps_using_a_debug_token_1866987_11.html http://wbt20ykf/html5/documentation/running_your_bb10_app_2008471_11.html

ericpearson commented 11 years ago

is this fixed, can this be closed?