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 24B2E10563 for ; Mon, 24 Mar 2014 20:39:18 +0000 (UTC) Received: (qmail 29369 invoked by uid 500); 24 Mar 2014 20:38:58 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 29097 invoked by uid 500); 24 Mar 2014 20:38:53 -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 28976 invoked by uid 99); 24 Mar 2014 20:38:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Mar 2014 20:38:51 +0000 Date: Mon, 24 Mar 2014 20:38:51 +0000 (UTC) From: "Josh Soref (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CB-6339) platform Dependencies should be fetched eagerly or searchpath should be stored or ... MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Josh Soref created CB-6339: ------------------------------ Summary: platform Dependencies should be fetched eagerly or searchpath should be stored or ... Key: CB-6339 URL: https://issues.apache.org/jira/browse/CB-6339 Project: Apache Cordova Issue Type: Bug Components: Plugman Reporter: Josh Soref {quote} $ cordova plugin add com.blackberry.sensors --searchpath ../cordova-blackberry-plugins/plugin/ $ cordova plugin [ 'com.blackberry.sensors' ] $ cordova platform add blackberry10 Creating blackberry10 project... npm WARN package.json jWorkflow@0.8.0 No repository field. npm WARN package.json localize@0.4.2 No repository field. Installing "com.blackberry.sensors" for blackberry10 Fetching plugin "com.blackberry.utils" via plugin registry Installing "com.blackberry.utils" for blackberry10 {quote} The intention here is clearly to have the plugin and its dependencies installed from {{--searchpath}}. Having to add platforms before adding plugins or having to remember that {{--searchpath}} doesn't work for platforms that aren't yet present is pretty painful. If you don't want to implement any persistence for the {{--searchpath}}, then, at least trawl through the platform dependencies and warn when they won't do the right thing. As in: {quote} *WARNING*: {{com.blackberry.utils}} will not be installed from {{../cordova-blackberry-plugins/plugin/com.blackberry.utils}} when you run {{cordova platform add blackberry10}} {quote} For reference, the sensors plugin.xml file has: {quote} ... {quote} -- This message was sent by Atlassian JIRA (v6.2#6252)