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 D9B4E17FAD for ; Thu, 2 Oct 2014 14:05:38 +0000 (UTC) Received: (qmail 7252 invoked by uid 500); 2 Oct 2014 14:05:38 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 7227 invoked by uid 500); 2 Oct 2014 14:05:38 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 7216 invoked by uid 99); 2 Oct 2014 14:05:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Oct 2014 14:05:38 +0000 Date: Thu, 2 Oct 2014 14:05:38 +0000 (UTC) From: "Bryan Higgins (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CB-7698) CLI: no validation for globally required plugin variables 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-7698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bryan Higgins updated CB-7698: ------------------------------ Component/s: CLI Description: CLI should check that any globally required variables (preference at root level in plugin.xml) have been provided before calling plugman.install on the platforms. Otherwise the plugin is added to the project but plugman fails to install to any platforms. >From the docs: plugman checks that these required preferences are passed in. If not, it should warn the user how to pass the variable in and exit with a non-zero code. http://cordova.apache.org/docs/en/3.6.0/plugin_ref_spec.md.html#Plugin%20Specification was: Plugman is missing validation logic as described in the documentation: plugman checks that these required preferences are passed in. If not, it should warn the user how to pass the variable in and exit with a non-zero code. http://cordova.apache.org/docs/en/3.6.0/plugin_ref_spec.md.html#Plugin%20Specification Summary: CLI: no validation for globally required plugin variables (was: Plugman: no validation for mandatory variables) > CLI: no validation for globally required plugin variables > --------------------------------------------------------- > > Key: CB-7698 > URL: https://issues.apache.org/jira/browse/CB-7698 > Project: Apache Cordova > Issue Type: Bug > Components: CLI > Reporter: Bryan Higgins > Assignee: Bryan Higgins > Priority: Minor > > CLI should check that any globally required variables (preference at root level in plugin.xml) have been provided before calling plugman.install on the platforms. Otherwise the plugin is added to the project but plugman fails to install to any platforms. > From the docs: > plugman checks that these required preferences are passed in. If not, it should warn the user how to pass the variable in and exit with a non-zero code. > http://cordova.apache.org/docs/en/3.6.0/plugin_ref_spec.md.html#Plugin%20Specification -- This message was sent by Atlassian JIRA (v6.3.4#6332)