GitHub user TimBarham opened a pull request: https://github.com/apache/cordova-lib/pull/167
CB-8472 Can't find config.xml error installing platform after plugin. Recent changes to the process of adding a platform meant we were trying to trying to install plugins for the platform before we had called prepare() for the platform. Also, we were calling prepare() outside the loop that processes each platform, which meant the plaform local variable was not in scope, and we were passing a reference to a function called platform() to prepare() rather than a platform name. Fixed this by moving the prepare() call back where it used to be - just before we install plugins. You can merge this pull request into a Git repository by running: $ git pull https://github.com/MSOpenTech/cordova-lib CB-8472 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-lib/pull/167.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #167 ---- commit aa332e846058c405af30a6d313ce90783d9bd544 Author: Tim Barham <tim.bar...@microsoft.com> Date: 2015-02-16T02:52:08Z CB-8472 Can't find config.xml error installing platform after plugin. Recent changes to the process of adding a platform meant we were trying to trying to install plugins for the platform before we had called prepare() for the platform. Also, we were calling prepare() outside the loop that processes each platform, which meant the plaform local variable was not in scope, and we were passing a reference to a function called platform() to prepare() rather than a platform name. Fixed this by moving the prepare() call back where it used to be - just before we install plugins. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org