cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michal Mocny <>
Subject Looking for input on syntax to use for specifying plugin deps in config.xml
Date Tue, 22 Apr 2014 17:31:13 GMT
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:

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