Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 106F1187FB for ; Tue, 22 Mar 2016 23:10:26 +0000 (UTC) Received: (qmail 2137 invoked by uid 500); 22 Mar 2016 23:10:25 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 2045 invoked by uid 500); 22 Mar 2016 23:10:25 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 1907 invoked by uid 99); 22 Mar 2016 23:10:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Mar 2016 23:10:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 89F0B2C1F61 for ; Tue, 22 Mar 2016 23:10:25 +0000 (UTC) Date: Tue, 22 Mar 2016 23:10:25 +0000 (UTC) From: "Nikhil Khandelwal (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CB-10921) Plugin not installed when variable not supplied, no error message MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-10921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nikhil Khandelwal updated CB-10921: ----------------------------------- Assignee: Vladimir Kotikov > Plugin not installed when variable not supplied, no error message > ----------------------------------------------------------------- > > Key: CB-10921 > URL: https://issues.apache.org/jira/browse/CB-10921 > Project: Apache Cordova > Issue Type: Bug > Components: CLI > Affects Versions: 6.0.0 > Environment: Mac OS 10.11.3. > Reporter: Jacob Weber > Assignee: Vladimir Kotikov > Priority: Minor > Labels: triaged > > When I include a plugin in {{config.xml}}, and the plugin declares a {{}}, but the {{config.xml}} doesn't supply a corresponding {{}}, {{cordova prepare}} doesn't show an error message. > I started with a new project, with no plugins or platforms. Then I added specific {{}} versions to config.xml. Finally I added a {{}} whose {{plugin.xml}} file declares a variable {{}}. But I don't supply the required {{}}: > {code} > > > > > {code} > When I run {{cordova prepare}}, it says: > {code} > Copying plugin "/Users/someone/.npm/cordova-plugin-customurlscheme/4.1.5/package" => "/Users/someone/CordovaTest/plugins/cordova-plugin-customurlscheme" > {code} > but it doesn't actually copy the plugin there. Nor does it make any changes to either platform's {{config.xml}} file, or to any other config files. > On the other hand, if I try to manually install the plugin using {{cordova plugin add cordova-plugin-customurlscheme}}, it shows me the appropriate error message: > {code} > Error: Variable(s) missing (use: --variable URL_SCHEME=value). > {code} > Side note: it seems to be repeating certain steps for every plugin installed. For example, it repeats: > {code} > Wrote out Android application name to "CordovaTest" > Wrote out Android package name to "com.test.cordovatest" > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org