blackberry / WebWorks-TabletOS

BlackBerry WebWorks for Tablet OS is a platform for building deeply integrated web applications for the BlackBerry PlayBook
http://us.blackberry.com/developers/tablet/webworks.jsp
Apache License 2.0
70 stars 14 forks source link

bbwp builds debug bar file when -d is not present #48

Open kwallis opened 12 years ago

kwallis commented 12 years ago

BlackBerry WebWorks SDK for TabletOS 2.2.0.5

bbwp builds debug bar file when -d is not present

If you use the instructions documented here to create an unsigned application: https://bdsc.webapps.blackberry.com/html5/documentation/ww_developing/compile_ww_app_for_tablets_1873322_11.html

Quote: Package a unsigned application for tablets

The BlackBerry WebWorks Packager uses the BlackBerry WebWorks archive test.zip file to produce an unsigned version of the compiled application.

bbwp test.zip -o compiled

In the manifest Application-Development-Mode is set to true.

The prevents enterprise developers behind a proxy server from creating WebWorks applications because bbwp does not accept proxy parameters, which are required by barsigner to sign from behind a proxy server. They can be passed to blackberry-signer, however bbwp cannot be used to create an unsigned, non debug bar file that could be signed with blackberry-signer.

Steps to reproduce: Run: bbwp yourApp.zip. Expected Results: An unsigned, non debug bar file is created. Actual Results: An unsigned, debug bar file is created.

kwallis commented 12 years ago

cc @MSohm @dmateescu