cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-6469) Restore plugins from config.xml
Date Thu, 17 Apr 2014 20:53:20 GMT


ASF GitHub Bot commented on CB-6469:

GitHub user gorkem opened a pull request:

    CB-6469 - Restore plugins from config.xml

    Adds a save command to save the state of the installed plugins. Changes prepare so that
config.xml is read and any missing plugins are installed. Adds some tests for the new features

You can merge this pull request into a Git repository by running:

    $ git pull plugin-reprovision

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #165
commit e424693dfb556771e308a2129881fe1cedc1d247
Author: Gorkem Ercan <>
Date:   2014-04-17T00:33:22Z

    Initial implementation for automatic plugin installation
    Modifies prepare phase so that all features(plugins) that are in the config.xml are added
as plugins to the project.
    Also adds a new save command to CLI which persists the currently added features to config.xml.
Also adds a
    new function to ConfigParser for adding features.

commit d8dfaadaa4cdf96692093bc96bfe33a01d39026c
Author: Gorkem Ercan <>
Date:   2014-04-17T20:49:14Z

    initial set of tests
    add tests for new save command and adds test for the ConfigParser.addFeature


> Restore plugins from config.xml
> -------------------------------
>                 Key: CB-6469
>                 URL:
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: CLI
>    Affects Versions: 3.4.0
>            Reporter: Gorkem ERCAN
>            Assignee: Gorkem ERCAN
> CLI should be able to restore plugins that are listed on the top level config.xml. 
> Essentially an entry like below, should cause the org.apache.cordova.core.console plugin
 version 0.2.8 to be installed from registry. If version is omitted is should just use the
latest available from registry. 
> <feature name="Console">
>      <param name="id" value="org.apache.cordova.core.console" />
>     <param name="version" value="0.2.8" />
> </feature>
> Moreover we should add a save plugins command to save the currently installed plugins
to config.xml

This message was sent by Atlassian JIRA

View raw message