Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 332A22009D9 for ; Thu, 19 May 2016 11:54:51 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 31D5A160A1D; Thu, 19 May 2016 09:54:51 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 86196160A00 for ; Thu, 19 May 2016 11:54:50 +0200 (CEST) Received: (qmail 97210 invoked by uid 500); 19 May 2016 09:54:44 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 97048 invoked by uid 99); 19 May 2016 09:54:44 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 May 2016 09:54:44 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 7FAF9E05E1; Thu, 19 May 2016 09:54:44 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: dbarth@apache.org To: commits@cordova.apache.org Date: Thu, 19 May 2016 09:54:48 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [5/8] cordova-ubuntu git commit: Update run devtools message archived-at: Thu, 19 May 2016 09:54:51 -0000 Update run devtools message (cherry picked from commit 626568c614dd9b7ce6fa6ad4cd1b75d7ce23108c) Project: http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/commit/9f47bdbe Tree: http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/tree/9f47bdbe Diff: http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/diff/9f47bdbe Branch: refs/heads/4.3.x Commit: 9f47bdbe36f5f4573c9a2eddb8b4022addd41978 Parents: 2885060 Author: Alexandre Abreu Authored: Tue May 10 13:27:38 2016 -0400 Committer: David Barth Committed: Thu May 19 11:16:37 2016 +0200 ---------------------------------------------------------------------- bin/templates/project/cordova/lib/run.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/blob/9f47bdbe/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 f1335f9..ba622a7 100644 --- a/bin/templates/project/cordova/lib/run.js +++ b/bin/templates/project/cordova/lib/run.js @@ -112,9 +112,7 @@ function runNative(rootDir, debug) { var cmd = './cordova-ubuntu www/'; if (debug) { cmd = "DEBUG=1 " + cmd; - logger.warn('Debug enabled. \ -Try pointing a Chrome/Chromium browser \ -to http://' + getDeviceInetAddress() + ':9222'); + logger.warn('Debug enabled. Devtools debug URL: http://' + getDeviceInetAddress(target) + ':9222'); } logger.info('Launching the application.'); @@ -157,9 +155,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.warn('Debug enabled. \ -Try pointing a Chrome/Chromium browser \ -to http://' + getDeviceInetAddress(target) + ':9222'); + logger.warn('Debug enabled. Devtools debug URL: http://' + getDeviceInetAddress(target) + ':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