phonegap / phonegap-cli

PhoneGap and PhoneGap/Build command-line interface
Apache License 2.0
491 stars 156 forks source link

phonegap local run blackberry - fails with com.phonegap.hello-world sample #119

Closed zahlenhelfer closed 11 years ago

zahlenhelfer commented 11 years ago

The local run for bb10 apps will throw an error, if you use special chars like "-" from the sample-project.

Test with these steps:

$ phonegap create bb10test $ cd bb10test $ phonegap local run blackberry

Console Output:

phonegap] adding the BlackBerry platform... [error] An error occured during creation of blackberry10 sub-project. App ID must be sequence of alpha-numeric (optionally seperated by '.') characters, no longer than 50 characters

Manual Fix

delete the "-" in the config.xml id. Example: ...id="com.phonegap.hello-world" ...

mwbrooks commented 11 years ago

Good to hear from your @zahlenhelfer

Arg! Those special characters are frustrating! I think this should be a fix on the BlackBerry 10 platform script side - it should gracefully handle special characters.

However, I could update the hello world app to not use the -. That would at least forego the problem for some people.

mwbrooks commented 11 years ago

Apache Cordova JIRA issue CB-4423 has been created to resolve this issue at a lower-level.

Thanks for the catching this issue @zahlenhelfer!