Darryl L. Miles created CB-7742:
-----------------------------------
Summary: plugman: --platform should be redundant when plugin.xml
has the info
Key: CB-7742
URL: https://issues.apache.org/jira/browse/CB-7742
Project: Apache Cordova
Issue Type: Bug
Components: Plugman
Affects Versions: 3.6.0
Reporter: Darryl L. Miles
plugman: --platform should be redundant when plugin.xml has the info
There are 2 places the platform a particular plugin is enabled for by default:
plugman info <plugin.id>
and the plugin.xml inside the plugin ZIP/TGZ archive download
All info should be concatenated and de-duplicated and used as a list of the
default platforms to apply it to.
The --platform should then have 2 new pseudo-platform names with special
meanings "DEFAULT" and "ALL".
DEFAULT is the use case outlined above (the new default)
ALL_IN_PROJECT is the old default
This allows those needing the old quirky behaviour to get it back by using
ALL_IN_PROJECT as the platform name.
By default plugman should do as much obvious work for the developer as possible
and this bug attempts to address that.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]