cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-11203) Document CLI variables for config and plugin.xml
Date Mon, 09 May 2016 16:58:12 GMT

    [ https://issues.apache.org/jira/browse/CB-11203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15276613#comment-15276613
] 

ASF GitHub Bot commented on CB-11203:
-------------------------------------

Github user nikhilkh commented on a diff in the pull request:

    https://github.com/apache/cordova-docs/pull/595#discussion_r62532587
  
    --- Diff: www/docs/en/dev/config_ref/index.md ---
    @@ -234,6 +234,23 @@ platform. See [Customize icons topic](images.html) for more information.
        <plugin name="cordova-plugin-device" spec="https://github.com/apache/cordova-plugin-device.git#1.0.0"
/>
        ```
     
    +### variable
    +   Persists the value of a CLI variable to be used when restoring a plugin during a prepare.
See the [preference element][plugin_preference]
    --- End diff --
    
    It will be great to specify that edits to the value in config.xml do not take effect without
removing and adding the plugin. This is added by --save option in the CLI.


> Document CLI variables for config and plugin.xml
> ------------------------------------------------
>
>                 Key: CB-11203
>                 URL: https://issues.apache.org/jira/browse/CB-11203
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Docs
>            Reporter: Richard B Knoll
>            Assignee: Richard B Knoll
>              Labels: triaged
>
> Two things are currently missing from our docs. First is that when adding plugins using
{{--save}}, the entry created in config.xml will have a {{<variable />}} child element
which we do not document anywhere. Second, we do not make it clear that CLI variables can
be referenced in plugin.xml using the {{$VARIABLE}} syntax.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message