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 69B251090E for ; Mon, 19 Aug 2013 13:50:51 +0000 (UTC) Received: (qmail 89508 invoked by uid 500); 19 Aug 2013 13:50:51 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 89473 invoked by uid 500); 19 Aug 2013 13:50:49 -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 89011 invoked by uid 99); 19 Aug 2013 13:50:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Aug 2013 13:50:48 +0000 Date: Mon, 19 Aug 2013 13:50:48 +0000 (UTC) From: "Ian Clelland (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-4609) add plugin from path - buggy on Windows 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-4609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13743823#comment-13743823 ] Ian Clelland commented on CB-4609: ---------------------------------- It's strange that it would install from git, but not from a directory path. Not sure what's going on there. {{plugin rm}} does require a plugin id (which you can get from {{cordova plugin list}}); it definitely doesn't support removing based on a directory path. (Even if it did, it would be kind of misleading -- it wouldn't actually be deleting the plugin which is installed there, it would be looking for a plugin.xml there and deleting *any* plugin you have with that id, whether or not its the same plugin.) > add plugin from path - buggy on Windows > ---------------------------------------- > > Key: CB-4609 > URL: https://issues.apache.org/jira/browse/CB-4609 > Project: Apache Cordova > Issue Type: Bug > Components: CLI, Plugman > Affects Versions: 3.0.0 > Environment: Window 8, node v0.10.16 > Reporter: Jonathan Bond-Caron > Assignee: Filip Maj > > I'm experimenting with a new plugin: > https://github.com/jbondc/cordova-plugin-gesture > Add the plugin from a path is successful: > >cordova plugin add F:\Jonathan\GitHub\Cordova\cordova-plugin-gesture > >cordova plugin list > [ 'org.apache.cordova.core.Gesture' ] > But removing it fails: > >cordova plugin rm F:\Jonathan\GitHub\Cordova\cordova-plugin-gesture > [Error: Plugin "F:\Jonathan\GitHub\Cordova\cordova-plugin-gesture" not added to project.] > In cordova_plugins.js, I see: > cordova.define('cordova/plugin_list', function(require, exports, module) { > module.exports = [ > { > "file": "plugins\\org.apache.cordova.core.Gesture\\www\\gesture.js", > "id": "org.apache.cordova.core.Gesture.Gesture", > "clobbers": [ > "cordova.gesture" > ] > } > ] > }); > Should that path be normalized to "plugins/org.apache.cordova.core.Gesture/www/gesture.js"? > Not sure what's going on, I've looked at cli/plugman but couldn't find the code where this happens. > Though 'plugin add' works, the end result on Android is cordova.gestures is undefined. > 08-18 01:55:03.082: D/chromium(1981): Unknown chromium error: -6 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira