[
https://issues.apache.org/jira/browse/CB-9597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14727197#comment-14727197
]
ASF subversion and git services commented on CB-9597:
-----------------------------------------------------
Commit 07271a5c6162c0b2bee55e1ea23f91ebdfbbb34c in cordova-lib's branch
refs/heads/master from [~vladimir.kotikov]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=07271a5 ]
CB-9597 Initial Implementation of PlatformApiPoly
This implements PlatformApiPoly class according to PlatformApi spec, which
allows to:
* create/update platform
* execute platform's actions (build/run/add/update)
* do a prepare (needed for CLI workflow only)
* install/uninstall plugins
Other noticeable changes:
* removes `getPlatformProject` and PlatformProject method/class in favor of
PlatformApiPoly/getPlatformApi
* make assets and js-modules installing/uninstalling through ActionStack
* refactor configChanges to not require plugins_dir in constructor
* moves mergeXml helper to xml-helpers
This should be used along with cordova-cli/platformApi branch
> Implement a polyfill for PlatformApi for backward compatibility with
> 'old-style' platforms
> ------------------------------------------------------------------------------------------
>
> Key: CB-9597
> URL: https://issues.apache.org/jira/browse/CB-9597
> Project: Apache Cordova
> Issue Type: Sub-task
> Components: CordovaLib
> Reporter: Vladimir Kotikov
> Assignee: Vladimir Kotikov
> Labels: PlatformApi
>
> To make the transition to new API smoother, the cordova-lib needs to expose
> PlatformApiPoly class according to PlatformApi spec, which will be used if
> platform doesn't provides its own PlatformApi.
> Expected functionality:
> * create/update platform
> * execute platform's actions (build/run/add/update)
> * do a prepare (needed for CLI workflow only)
> * install/uninstall plugins
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]