Building Weather Sample App Fails???!!! #37

Open
alu54 opened this Issue Jul 5, 2012 · 1 comment

Projects

None yet

2 participants

@alu54
alu54 commented Jul 5, 2012

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!
blackberry/BB10-Webworks-Packager#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?

@konicYa
konicYa commented Sep 5, 2012

On top of it there is error: "miAddLocation .. has no method hasDataCoverage".
Actually it's about 'blackberry.system.hasDataCoverage()' in Weather60.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment