cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Braden Shepherdson <bra...@chromium.org>
Subject Re: engine elements in plugin.xml
Date Fri, 15 Nov 2013 15:34:48 GMT
Mentioning the platforms in the <engine> tags allows restricting the
versions of platforms, which isn't possibly on <platform> tags.

Braden


On Thu, Nov 14, 2013 at 8:36 PM, Qi LUO <luoq@polyvi.com> wrote:

> ‘or’ should work better for cordova-based engines.
> ‘and’ works for engines of cordova family, but I suspect it’s duplicated.
> The ‘platform’ tag is already used to specify platform, I don’t understand
> why cordova-android or similar is necessary here.
>
> Best Regards,
>
> Qi LUO
> Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
>
>
> On Friday, 15 November, 2013 at 2:51, Andrew wrote:
>
> > <and><or>?
> >
> >
> > On Thu, Nov 14, 2013 at 11:44 AM, Braden Shepherdson <
> braden@chromium.org (mailto:braden@chromium.org)>wrote:
> >
> > > I think the "AND" logic was chosen because you can specify <engine
> > > name="cordova-android" version=">=3.2.0" /> or similar, in order to
> require
> > > sufficiently new versions of the platforms.
> > >
> > > I agree that only makes sense for platform engines, and makes
> worklight vs.
> > > phonegap vs. cordova engines broken. I don't know how we want to handle
> > > that.
> > >
> > > Braden
> > >
> > >
> > > On Wed, Nov 13, 2013 at 10:08 PM, Qi LUO <luoq@polyvi.com (mailto:
> luoq@polyvi.com)> wrote:
> > >
> > > > Hi all,
> > > >
> > > > From the doc, we can specify multiple engines, sth like,
> > > >
> > > > <engines>
> > > > <engine name="cordova" version="1.7.0" />
> > > > <engine name="worklight" version="1.0.0" platform="android"
> > > > scriptSrc="worklight_version"/>
> > > > </engines>
> > > >
> > > > The plugman will only install the plugin after all engines are
> satisfied.
> > > > But I didn’t quite follow the idea that why all engines over there
> should
> > > > pass the check, why not just one of engines? Usually a specific
> project
> > > >
> > >
> > > is
> > > > connected to a specific engine, not two or more. As for plugin, it
> may
> > > > support multiple engines, but when it gets installed into a specific
> > > > project, it’s bound to the only engine used by that project.
> > > > I didn’t understand the use case in the situation.
> > > > Thanks.
> > > >
> > > >
> > > > Best Regards,
> > > >
> > > > Qi LUO
> > > > Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
> > > >
> > >
> > >
> >
> >
> >
>
>
>

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