The first build error (using the BlackBerry 10 WebWorks SDK 1.0.0.15) was:
[INFO] Populating application source
[INFO] Parsing config.xml
[ERROR] Error: Please enter a valid application id
I was surprised to see that a sample app and step by step description leads the new programmers to an error like that.
Anyway, I spend half an hour to try to fix this issue and at the end had to add an id (with no space and no dot in it) to the config.xml.
I was specially confused by the bad idea mentioned in the page below to use Reverse Domain Name standard for the application id. Reverse Domain Name doesn't work because it contains dots!
https://github.com/blackberry/BB10-Webworks-Packager/issues/91
On top of it there is error: "miAddLocation .. has no method hasDataCoverage".
Actually it's about 'blackberry.system.hasDataCoverage()' in Weather60.js
2 days ago I tried to test how Webworks works for BB 10 devices.
So, after reading tons of pages about Webworks and HTML 5, I downloaded the Weather sample app and followed the "How to Build" steps described in https://github.com/blackberry/WebWorks-Samples/tree/master/Weather
The first build error (using the BlackBerry 10 WebWorks SDK 1.0.0.15) was:
[INFO] Populating application source [INFO] Parsing config.xml [ERROR] Error: Please enter a valid application id
I was surprised to see that a sample app and step by step description leads the new programmers to an error like that. Anyway, I spend half an hour to try to fix this issue and at the end had to add an id (with no space and no dot in it) to the config.xml. I was specially confused by the bad idea mentioned in the page below to use Reverse Domain Name standard for the application id. Reverse Domain Name doesn't work because it contains dots! https://github.com/blackberry/BB10-Webworks-Packager/issues/91
It is very odd that the build steps in https://github.com/blackberry/WebWorks-Samples/tree/master/Weather are not modified to tell the users to modify the config.xml file before building it.
That fixed the Application ID build error, but a new build error now shows up:
[INFO] Populating application source [INFO] Parsing config.xml [INFO] Generating output files [ERROR] Failed to find feature with id: blackberry.io.file
Now even Google can't find this error. So I am stuck.
To Authors: Sample App doesn't build? Really?