incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [1/2] android commit: log was actually doing nothing...fixing it
Date Thu, 28 Jun 2012 00:55:42 GMT
Updated Branches:
  refs/heads/master 582984040 -> 98138a0a6


log was actually doing nothing...fixing it


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/commit/98138a0a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/tree/98138a0a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/diff/98138a0a

Branch: refs/heads/master
Commit: 98138a0a60655e65b2e50436ab869fa0909896b6
Parents: e639b63
Author: Anis Kadri <anis.kadri@gmail.com>
Authored: Wed Jun 27 17:55:35 2012 -0700
Committer: Anis Kadri <anis.kadri@gmail.com>
Committed: Wed Jun 27 17:55:35 2012 -0700

----------------------------------------------------------------------
 bin/templates/cordova/cordova.js |    4 ++--
 bin/templates/cordova/log.bat    |    1 +
 2 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/98138a0a/bin/templates/cordova/cordova.js
----------------------------------------------------------------------
diff --git a/bin/templates/cordova/cordova.js b/bin/templates/cordova/cordova.js
index 6353b55..b25ee6b 100644
--- a/bin/templates/cordova/cordova.js
+++ b/bin/templates/cordova/cordova.js
@@ -8,7 +8,7 @@ function exec(command) {
         if(!oExec.StdOut.AtEndOfStream) {
             var line = oExec.StdOut.ReadLine();
             // XXX: Change to verbose mode 
-            //WScript.StdOut.WriteLine(line);
+            // WScript.StdOut.WriteLine(line);
             output += line;
         }
         WScript.sleep(100);
@@ -79,7 +79,7 @@ function debug_install() {
 }
 
 function log() {
-    WScript.Echo(exec("%comspec% /c adb.bat logcat"));
+    shell.Run("%comspec% /c adb logcat");
 }
 
 function launch() {

http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/98138a0a/bin/templates/cordova/log.bat
----------------------------------------------------------------------
diff --git a/bin/templates/cordova/log.bat b/bin/templates/cordova/log.bat
index e69de29..688d0d0 100644
--- a/bin/templates/cordova/log.bat
+++ b/bin/templates/cordova/log.bat
@@ -0,0 +1 @@
+%~dp0\cordova.bat log


Mime
View raw message