cordova-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/CB-7569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14137462#comment-14137462
] 

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

...now 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: https://issues.apache.org/jira/browse/CB-7569
>             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
nice.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message