You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Vladimir Kotikov (JIRA)" <ji...@apache.org> on 2016/04/06 15:05:25 UTC

[jira] [Assigned] (CB-10992) cordova prepare uses www/config.xml from parent

     [ https://issues.apache.org/jira/browse/CB-10992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vladimir Kotikov reassigned CB-10992:
-------------------------------------

    Assignee: Vladimir Kotikov

> cordova prepare uses www/config.xml from parent
> -----------------------------------------------
>
>                 Key: CB-10992
>                 URL: https://issues.apache.org/jira/browse/CB-10992
>             Project: Apache Cordova
>          Issue Type: Bug
>    Affects Versions: 6.0.0
>            Reporter: Jacob Weber
>            Assignee: Vladimir Kotikov
>            Priority: Minor
>              Labels: triaged
>
> If you run "cordova prepare" from your project's root, but the parent directory has a www/config.xml file, it will try to use that file instead, and fail.
> Create a cordova project in {{/home/username/CordovaTest}}. Add to {{/home/username/CordovaTest/config.xml}}:
> {code}
>     <engine name="ios" spec="~4.1.0" />
>     <engine name="android" spec="~5.1.1" />
> {code}
> Then create an empty {{/home/username/www/config.xml}} file.
> Finally run:
> {code}
> cd /home/username/CordovaTest
> cordova prepare
> {code}
> You'll get an error, as it tries to read the parent directory's config file.



--
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