cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Grieve <agri...@chromium.org>
Subject Re: Plugins dependencies installation logic
Date Wed, 22 Oct 2014 19:47:10 GMT
This was brought up (over a year ago at least), and was deemed a bug, but
one that's hairy to fix.

On Wed, Oct 22, 2014 at 8:07 AM, Bryan Higgins <bryan@bryanhiggins.net>
wrote:

> That is the design. CLI calls plugman.fetch and then plugman.install for
> each installed platform.
>
> The plugin won't get installed (and dependencies won't be resolved) until a
> platform is added.
>
> On Wed, Oct 22, 2014 at 5:15 AM, Sergey Grebnov (Akvelon) <
> v-segreb@microsoft.com> wrote:
>
> > Hi, while working on CB-7846 'Fix plugin deletion when dependency plugin
> > does not exist' [1] I've found out that dependency plugins are not
> > installed to plugins dir if you don't have any platform installed yet. Is
> > it by design or something which should be further investigated?
> >
> > Related side effect is 'cordova plugins' report different list of plugins
> > before and after you add a first platform
> > λ cordova plugin add org.apache.cordova.file-transfer
> >
> > λ cordova plugins
> > org.apache.cordova.file-transfer 0.4.7 "File Transfer"
> >
> > λ cordova platform add android
> >
> > λ cordova plugins
> > org.apache.cordova.file 1.3.1 "File"
> > org.apache.cordova.file-transfer 0.4.7 "File Transfer"
> >
> > [1] https://issues.apache.org/jira/browse/CB-7846
> >
> > Thx!
> > Sergey
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
> > For additional commands, e-mail: dev-help@cordova.apache.org
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message