cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lisa Seacat DeLuca (JIRA)" <>
Subject [jira] [Commented] (CB-7569) Offline Plugin Add for CLI
Date Wed, 17 Sep 2014 16:12:34 GMT


Lisa Seacat DeLuca commented on CB-7569:

Nice, so [~cmarcelk] found how to do it:

Alternately, specify a local path to the plugin directory that contains the plugin.xml file:

    $ cordova plugin add ../my_plugin_dir we just need to figure out a way to gracefully fail/add this in.  In this example the
user kinda needs to know where the plugin is installed in another project.  Wonder if it's
possible to search the file system for the plugin and prompt the user ("your internet is down
but you can install the plugin from these old projects... x... y... z...")

> Offline Plugin Add for CLI
> --------------------------
>                 Key: CB-7569
>                 URL:
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: CLI
>            Reporter: Lisa Seacat DeLuca
>            Priority: Minor
> Seems like whenever I'm demoing Cordova at a conference I am competing with the attendees
for an internet connection.  Which means that I get an error trying to do cordova plugin add
____ because it can't fetch it from the internet.  What would be cool is if the CLI didn't
fail on internet connection IF the user already has a separate project that has that same
plugin installed.  For example, suppose I'm demoing camera and the internet is down.  But
I happen to have already installed the camera plugin for another project.  Rather than fail,
the system will copy the camera plugin from the other project and use that.  Of course a nice
message to the user "we're borrowing from project X because the internet was down" would be

This message was sent by Atlassian JIRA

View raw message