cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Bond-Caron (JIRA)" <>
Subject [jira] [Created] (CB-4609) add plugin from path - buggy on Windows
Date Sun, 18 Aug 2013 16:19:47 GMT
Jonathan Bond-Caron created CB-4609:

             Summary: add plugin from path - buggy on Windows 
                 Key: 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:

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": [

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

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:

View raw message