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

BlackBerry 10 WebWorks SDK 1.0.1.8 is not properly ignoring more than one feature that is not supported on BB10 #175

Closed jengee closed 12 years ago

jengee commented 12 years ago

User Bjern had posted here https://github.com/blackberry/Ripple-UI/issues/492 that they have not been able to build their app with the following config.xml file that contains the

output from BB10.0.08 is the following if blackberry.app.event is left in the config.xml file:

C:\Program Files\Research In Motion\BlackBerry 10 WebWorks SDK 1.0.1.8>"C:\Progr am Files\Research In Motion\BlackBerry 10 WebWorks SDK 1.0.1.8\dependencies\node \node.exe" "C:\Program Files\Research In Motion\BlackBerry 10 WebWorks SDK 1.0.1 .8\lib\bbwp.js" sudoku.zip -d [INFO] Populating application source [INFO] Parsing config.xml [WARN] Failed to find feature with id: blackberry.system.event [WARN] Failed to find feature with id: blackberry.app.event [INFO] Generating output files [ERROR] Failed to find feature with id: [object Object]

jengee commented 12 years ago

Attached app where you can reproduce the issue:

https://github.com/downloads/blackberry-webworks/BB10-Webworks-Packager/GHI175.zip

nukulb commented 12 years ago

so its not ignoring feature IDs that are not valid?

jengee commented 12 years ago

Actually I figured it out. If you have ONLY 1 feature ID that is not valid, packager ignores it properly. If you have more than 1 feature ID that is not valid, you get the above error.

I've updated the title of this issue.

SCrid2000 commented 12 years ago

Thanks themainguru; was trying to compile the bbui samples app and was having the same issue. Got it working by removing the unsupported feature ids.

nukulb commented 12 years ago

@SCrid2000 - we are fixing this now, you will get a patch soon, just track this issue.