You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/08/15 10:01:00 UTC

[jira] [Commented] (CB-12944) Platform's spec is ignored in config.xml if package.json doesn't contain dependency for platform

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

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

Github user matrosov-nikita commented on the issue:

    https://github.com/apache/cordova-lib/pull/565
  
    @filmaj, done.


> Platform's spec is ignored in config.xml if package.json doesn't contain dependency for platform
> ------------------------------------------------------------------------------------------------
>
>                 Key: CB-12944
>                 URL: https://issues.apache.org/jira/browse/CB-12944
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-lib
>    Affects Versions: Master
>            Reporter: Nikita Matrosov
>            Assignee: Nikita Matrosov
>
> Steps to reproduce with cordova@7.0.2-dev:
> 1) Create app with package.json contains empty dependencies object: "dependencies": {}
> (e.g. it's default for Visual Studio Cordova template)
> 2) Add entry into config.xml: <engine name="windows" spec="https://github.com/apache/cordova-windows.git#4.4.x" />
> 3) cordova platform add windows
> So, if package.json dependencies keys don't include windows or cordova-windows, we should look for a spec in config.xml.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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