Repository: cordova-app-harness
Updated Branches:
  refs/heads/master f6fd67fe8 -> 2ed499c94


Fix curl example in comments for /zippush


Project: http://git-wip-us.apache.org/repos/asf/cordova-app-harness/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/cordova-app-harness/commit/2ed499c9
Tree: http://git-wip-us.apache.org/repos/asf/cordova-app-harness/tree/2ed499c9
Diff: http://git-wip-us.apache.org/repos/asf/cordova-app-harness/diff/2ed499c9

Branch: refs/heads/master
Commit: 2ed499c942d65b98453ce71886951f99c1195d9a
Parents: f6fd67f
Author: Andrew Grieve <[email protected]>
Authored: Mon Jun 9 14:27:27 2014 -0400
Committer: Andrew Grieve <[email protected]>
Committed: Mon Jun 9 14:31:25 2014 -0400

----------------------------------------------------------------------
 www/cdvah/js/HarnessServer.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-app-harness/blob/2ed499c9/www/cdvah/js/HarnessServer.js
----------------------------------------------------------------------
diff --git a/www/cdvah/js/HarnessServer.js b/www/cdvah/js/HarnessServer.js
index ef56b02..557f98b 100644
--- a/www/cdvah/js/HarnessServer.js
+++ b/www/cdvah/js/HarnessServer.js
@@ -49,7 +49,8 @@
 //     curl -v -X POST "http://$IP_ADDRESS:2424/deleteapp?all=true"; # Delete 
all apps.
 //
 // Send a set of files within the given app ID (or the first app if none is 
given):
-//     cat file | curl -v -X PUT -d @- 
"http://$IP_ADDRESS:2424/zippush?appId=a.b.c&apptype=cordova";
+//     cat file | curl -v -X POST -d @- 
"http://$IP_ADDRESS:2424/zippush?appId=a.b.c&appType=cordova";
+// The zip file must contain a zipassetmanifest.json file at its root that is 
a map of "srcPath"->{"path":dstPath, "etag":"0"}.
 //
     myApp.factory('HarnessServer', ['$q', 'HttpServer', 'ResourcesLoader', 
'AppHarnessUI', 'AppsService', 'notifier', 'APP_VERSION', function($q, 
HttpServer, ResourcesLoader, AppHarnessUI, AppsService, notifier, APP_VERSION) {
 

Reply via email to