Closed Bug 975997 Opened 12 years ago Closed 12 years ago

|APP=homescreen make| doesn't work

Categories

(Firefox OS Graveyard :: Gaia, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: yurenju, Assigned: yurenju)

Details

Attachments

(1 file)

|APP=homescreen make| doesn't work because build_stage/webapps-mapping.json doesn't give enough information to build script of homescreen app. error message: > $ APP=homescreen make > XULrunner directory: xulrunner-sdk-26/xulrunner-sdk > run-js-command svoperapps > [svoperapps.js] PROFILE_DIR, GAIA_DISTRIBUTION_DIR, VARIANT_PATH are all required > run-js-command webapp-manifests > Building homescreen app to build_stage... > Invalid JSON file : /Users/yurenju/Documents/workspace/gaia/apps/homescreen/everything.me/config/local.json > Exception: Error: Can not find application communications at apps > HomescreenAppBuilder.prototype.getIconDiscriptorFromApp@resource://gre/modules/commonjs/toolkit/loader.js -> file:////Users/yurenju/Documents/workspace/gaia/apps/homescreen/build/build.js:119 > map_homescreens@resource://gre/modules/commonjs/toolkit/loader.js -> file:////Users/yurenju/Documents/workspace/gaia/apps/homescreen/build/build.js:283 > HomescreenAppBuilder.prototype.customizeHomescreen@resource://gre/modules/commonjs/toolkit/loader.js -> file:////Users/yurenju/Documents/workspace/gaia/apps/homescreen/build/build.js:288 > HomescreenAppBuilder.prototype.execute@resource://gre/modules/commonjs/toolkit/loader.js -> file:////Users/yurenju/Documents/workspace/gaia/apps/homescreen/build/build.js:301 > exports.execute@resource://gre/modules/commonjs/toolkit/loader.js -> file:////Users/yurenju/Documents/workspace/gaia/apps/homescreen/build/build.js:311 > @-e:1
Attachment #8380563 - Flags: review?(timdream) → review?(gduan)
Comment on attachment 8380563 [details] [review] github PR: https://github.com/mozilla-b2g/gaia/pull/16561 I tested the patch on bubble-tea branch and found out we can't execute |APP=ANYAPP make| anymore. It's because keyboard-layout.js (bug 913782) still need webapps-mapping.json to gen layout config. I suggest we should still keep original make rule.
Attachment #8380563 - Flags: review?(gduan)
Comment on attachment 8380563 [details] [review] github PR: https://github.com/mozilla-b2g/gaia/pull/16561 Thanks for your review! pull request is updated.
Attachment #8380563 - Flags: review?(gduan)
Comment on attachment 8380563 [details] [review] github PR: https://github.com/mozilla-b2g/gaia/pull/16561 Yah, I don't see any necessary for this line |webapp.sourceDirectoryName != config.BUILD_APP_NAME|. r=gduan.
Attachment #8380563 - Flags: review?(gduan) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: