cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Koudritsky <>
Subject Re: Looking for input on syntax to use for specifying plugin deps in config.xml
Date Tue, 22 Apr 2014 22:51:45 GMT
We also need this syntax to support plugins installed for one platform, but
not the other

On Tue, Apr 22, 2014 at 2:41 PM, Mark Koudritsky <> wrote:

> I prefer the <dependency> syntax. It's shorter, more intuitive and
> consistent with plugin.xml. I don't see much value in _partial_ compliance
> with the w3c spec.
> On Tue, Apr 22, 2014 at 1:31 PM, Michal Mocny <> wrote:
>> Gorkem is adding awesome feature to restore plugins/platforms your app
>> depends on.  There is some debate on the correct syntax to use in the
>> config.xml file: do we use (a) plugin.xml style <dependency> tags, or (b)
>> w3c widget spec <feature> tags?
>> Gorkem votes (b), arguing that using widget spec helps his tools with
>> editing config.xml (existing gui editor, I assume?), and has implemented a
>> PR for it (
>> I vote (a), arguing that we already don't match widget spec, and already
>> have established syntax for for specifying plugin urls & versions in
>> plugin.xml (with docs and examples), and its better for our CLI
>> implementation to use existing plugin deps handlers.
>> What do you think?
>> Background: read full thread titled "[GitHub] cordova-cli pull request:
>> CB-6469"

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