cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dase...@apache.org
Subject cordova-windows git commit: CB-11150 CI Error - Windows Platform - Could not find XHR config file
Date Tue, 26 Apr 2016 16:47:49 GMT
Repository: cordova-windows
Updated Branches:
  refs/heads/master d6988f5c8 -> 3da74166f


CB-11150 CI Error - Windows Platform - Could not find XHR config file

Changes config.xml path to absolute


Project: http://git-wip-us.apache.org/repos/asf/cordova-windows/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-windows/commit/3da74166
Tree: http://git-wip-us.apache.org/repos/asf/cordova-windows/tree/3da74166
Diff: http://git-wip-us.apache.org/repos/asf/cordova-windows/diff/3da74166

Branch: refs/heads/master
Commit: 3da74166f67e439d09c5c5de48af603287207b84
Parents: d6988f5
Author: daserge <v-seshak@microsoft.com>
Authored: Tue Apr 26 13:23:49 2016 +0300
Committer: daserge <v-seshak@microsoft.com>
Committed: Tue Apr 26 15:20:25 2016 +0300

----------------------------------------------------------------------
 cordova-js-src/confighelper.js |  2 +-
 template/www/cordova.js        | 12 ++++++------
 2 files changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-windows/blob/3da74166/cordova-js-src/confighelper.js
----------------------------------------------------------------------
diff --git a/cordova-js-src/confighelper.js b/cordova-js-src/confighelper.js
index 70c878d..47971d3 100644
--- a/cordova-js-src/confighelper.js
+++ b/cordova-js-src/confighelper.js
@@ -65,7 +65,7 @@ function readConfig(success, error) {
     xhr.addEventListener("load", xhrStatusChangeHandler);
 
     try {
-        xhr.open("get", "../config.xml", true);
+        xhr.open("get", "/config.xml", true);
         xhr.send();
     } catch (e) {
         fail('[Windows][cordova.js][readConfig] Could not XHR config.xml: ' + JSON.stringify(e));

http://git-wip-us.apache.org/repos/asf/cordova-windows/blob/3da74166/template/www/cordova.js
----------------------------------------------------------------------
diff --git a/template/www/cordova.js b/template/www/cordova.js
index 0dd8ba5..37c72c3 100644
--- a/template/www/cordova.js
+++ b/template/www/cordova.js
@@ -817,7 +817,7 @@ module.exports = channel;
 
 });
 
-// file: f:/coho/splash/cordova-windows/cordova-js-src/confighelper.js
+// file: f:/coho/cordova-windows/cordova-js-src/confighelper.js
 define("cordova/confighelper", function(require, exports, module) {
 
 // config.xml wrapper (non-node ConfigParser analogue)
@@ -866,7 +866,7 @@ function readConfig(success, error) {
     xhr.addEventListener("load", xhrStatusChangeHandler);
 
     try {
-        xhr.open("get", "../config.xml", true);
+        xhr.open("get", "/config.xml", true);
         xhr.send();
     } catch (e) {
         fail('[Windows][cordova.js][readConfig] Could not XHR config.xml: ' + JSON.stringify(e));
@@ -891,7 +891,7 @@ exports.readConfig = readConfig;
 
 });
 
-// file: f:/coho/splash/cordova-windows/cordova-js-src/exec.js
+// file: f:/coho/cordova-windows/cordova-js-src/exec.js
 define("cordova/exec", function(require, exports, module) {
 
 /*jslint sloppy:true, plusplus:true*/
@@ -1468,7 +1468,7 @@ exports.reset();
 
 });
 
-// file: f:/coho/splash/cordova-windows/cordova-js-src/platform.js
+// file: f:/coho/cordova-windows/cordova-js-src/platform.js
 define("cordova/platform", function(require, exports, module) {
 
 module.exports = {
@@ -1781,7 +1781,7 @@ exports.load = function(callback) {
 
 });
 
-// file: f:/coho/splash/cordova-windows/cordova-js-src/splashscreen.js
+// file: f:/coho/cordova-windows/cordova-js-src/splashscreen.js
 define("cordova/splashscreen", function(require, exports, module) {
 
 var isPhone = (cordova.platformId == 'windows') && WinJS.Utilities.isPhone;
@@ -2296,4 +2296,4 @@ window.cordova = require('cordova');
 
 require('cordova/init');
 
-})();
\ No newline at end of file
+})();


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message