cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zasp...@apache.org
Subject [26/37] cordova-ubuntu git commit: Logger.warn instead of Logger.info for some key messages.
Date Mon, 15 Dec 2014 13:33:15 GMT
Logger.warn instead of Logger.info for some key messages.


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

Branch: refs/heads/master
Commit: effa597347525a508196cd5dc941cd9d0cd0d295
Parents: 31aea7b
Author: Jean-Francois Moy <jeanfrancois.moy@gmail.com>
Authored: Tue Nov 11 14:56:54 2014 +0000
Committer: Jean-Francois Moy <jeanfrancois.moy@gmail.com>
Committed: Tue Nov 11 14:56:54 2014 +0000

----------------------------------------------------------------------
 bin/templates/project/cordova/lib/build.js | 4 ++--
 bin/templates/project/cordova/lib/run.js   | 5 ++---
 2 files changed, 4 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/blob/effa5973/bin/templates/project/cordova/lib/build.js
----------------------------------------------------------------------
diff --git a/bin/templates/project/cordova/lib/build.js b/bin/templates/project/cordova/lib/build.js
index e840e64..3b4bf50 100644
--- a/bin/templates/project/cordova/lib/build.js
+++ b/bin/templates/project/cordova/lib/build.js
@@ -211,8 +211,8 @@ function buildNative(campoDir, ubuntuDir, nobuild, debug) {
         for (var i = 0; i < templates.length; i++) {
             fillTemplate(templates[i].source, templates[i].dest, props);
         }
-        logger.info('In order to build debian package, execute: ');
-        logger.info('cd ' + debDir + '; ' + 'debuild');
+        logger.warn('In order to build debian package, execute: ');
+        logger.warn('cd ' + debDir + '; ' + 'debuild');
     });
 };
 

http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/blob/effa5973/bin/templates/project/cordova/lib/run.js
----------------------------------------------------------------------
diff --git a/bin/templates/project/cordova/lib/run.js b/bin/templates/project/cordova/lib/run.js
index c469fcd..b96f49c 100644
--- a/bin/templates/project/cordova/lib/run.js
+++ b/bin/templates/project/cordova/lib/run.js
@@ -36,7 +36,6 @@ var MSG = Constants.MSG;
 
 module.exports.run = function(rootDir, desktop, debug, target, nobuild, emulator, framework)
{
     if (desktop && !emulator) {
-        logger.info('Building Desktop Application...');
         return build(rootDir, PLATFORMS.DESKTOP, nobuild, null, null, debug).then(function
() {
             logger.info('Build Successful. Running the application.');
             return runNative(rootDir, debug);
@@ -92,7 +91,7 @@ function runNative(rootDir, debug) {
     var cmd = 'QTWEBKIT_INSPECTOR_SERVER=9222 ./cordova-ubuntu www/';
     if (debug) {
         cmd = "DEBUG=1 " + cmd;
-        logger.info('Debug enabled. Try pointing a WebKit browser to http://127.0.0.1:9222');
+        logger.warn('Debug enabled. Try pointing a WebKit browser to http://127.0.0.1:9222');
     }
 
     logger.info('Launching the application.');
@@ -135,7 +134,7 @@ function runOnDevice(rootDir, debug, target, architecture, framework)
{
     Devices.adbExec(target, 'shell "cd /home/phablet/; pkcon install-local ' + names[0] +
' -p --allow-untrusted -y"', {silent: false});
 
     if (debug) {
-        logger.info('Debug enabled. Try pointing a WebKit browser to http://127.0.0.1:9222');
+        logger.warn('Debug enabled. Try pointing a WebKit browser to http://127.0.0.1:9222');
         Devices.adbExec(target, 'forward tcp:9222 tcp:9222');
     }
 


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


Mime
View raw message