cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Kotikov (JIRA)" <>
Subject [jira] [Commented] (CB-10992) cordova prepare uses www/config.xml from parent
Date Wed, 06 Apr 2016 13:40:25 GMT


Vladimir Kotikov commented on CB-10992:

[~jweber], i couldn't reproduce the problem. {{prepare}} works just fine and both ios and
android platforms added successfully. Could you please attach a sample with directory structure
so i   can try to reproduce once more? Also, does this problem exists when using cordova@6.1.0?

> cordova prepare uses www/config.xml from parent
> -----------------------------------------------
>                 Key: CB-10992
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>    Affects Versions: 6.0.0
>            Reporter: Jacob Weber
>            Assignee: Vladimir Kotikov
>            Priority: Minor
>              Labels: triaged, wfc
> 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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message