We also need this syntax to support plugins installed for one platform, but not the other https://issues.apache.org/jira/browse/CB-6118
On Tue, Apr 22, 2014 at 2:41 PM, Mark Koudritsky <kam...@google.com> 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 <mmo...@google.com> 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 (https://github.com/apache/cordova-cli/pull/165). >> >> 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" >> > >