Because only Blackberry implements it this way. On iOS, it lives in the root of the iOS project, and on Android it lives in res/xml, because it's an XML file on Android. I'm fine with the CLI abstracting out reality as long as we're clear that's what's being done, and indicate that this is for the CLI users only.
I know that there's some people who would like it if everyone used the CLI but that's never going to happen, which is why I'm fine with the CLI being the part of the project that enforces ideological purity. On Wed, Sep 25, 2013 at 12:29 PM, Bryan Higgins <bhigg...@blackberry.com> wrote: > www/config.xml aligns nicely with the w3c widget spec [1]. Why would we > want to deviate? > > [1] http://www.w3.org/TR/widgets/#reserved-file-and-folder-names > > > On Wed, Sep 25, 2013 at 3:23 PM, Jesse <purplecabb...@gmail.com> wrote: > >> Seems any project created with the CLI has a config.xml in the www folder. >> [1] >> Why do we have 2 of these? >> >> I also recently closed a defect created by Carlos, stating that WP8 did NOT >> have it's config.xml in the www folder. [2] Now I am not sure I should have >> called this invalid, however, after creating a new WP8 project with the >> CLI, I see a config.xml in the www folder AND one in the app root. wtf? >> >> There is an open issue [3] to re-org config files, where Braden states "We >> already have plans to move $PROJECT/www/config.xml to $PROJECT/app.xml, >> which more or less addresses ..." Have we formalized what exactly this >> is? >> >> Seems we still have a lot of discussion that has to happen before we can >> move ahead on these items. I am currently adding config.xml support to >> Windows 8, and was hoping to have a nice clear path of what to do, but it >> still looks pretty muddy. [4] >> >> >> [1] https://issues.apache.org/jira/browse/CB-4476 >> [2] https://issues.apache.org/jira/browse/CB-46< >> https://issues.apache.org/jira/browse/CB-4658> >> 58 <https://issues.apache.org/jira/browse/CB-4658> >> [3] https://issues.apache.org/jira/browse/CB-4910 >> [4] https://issues.apache.org/jira/browse/CB-4608 >> >> @purplecabbage >> risingj.com >>