You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by mw...@apache.org on 2013/10/21 23:17:23 UTC

[5/5] docs commit: [CB-3820] CHECK: clarify loc of platform-specific config.xml

[CB-3820] CHECK: clarify loc of platform-specific config.xml


Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/e7dbe83c
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/e7dbe83c
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/e7dbe83c

Branch: refs/heads/master
Commit: e7dbe83c096953add503094b17caf7b8b2f0730c
Parents: eb3e4d6
Author: Mike Sierra <ms...@adobe.com>
Authored: Thu Sep 26 16:55:58 2013 -0400
Committer: Michael Brooks <mi...@michaelbrooks.ca>
Committed: Mon Oct 21 14:16:55 2013 -0700

----------------------------------------------------------------------
 docs/en/edge/config_ref/index.md | 26 ++++++++++++++++++++++----
 1 file changed, 22 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/e7dbe83c/docs/en/edge/config_ref/index.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/config_ref/index.md b/docs/en/edge/config_ref/index.md
index 2efec99..1799964 100644
--- a/docs/en/edge/config_ref/index.md
+++ b/docs/en/edge/config_ref/index.md
@@ -29,10 +29,28 @@ platform-specific settings.
 
 For projects created with the Cordova CLI (described in The
 Command-line Interface), this file can be found in the top-level `www`
-directory.  Using the CLI to build a project regenerates versions of
-this file in various subdirectories within `platforms`. If you use the
-CLI to create a project, but then shift your workflow to an SDK, the
-platform-specific file serves as a source.
+directory:
+
+        app/www/config.xml
+
+When using the CLI to build a project, versions of this file are
+passively copied along with other web-asset source files into various
+`platforms/*/www` subdirectories, for example:
+
+        app/platforms/ios/www/config.xml
+        app/platforms/blackberry10/www/config.xml
+
+An exception is Android, whose path specifies an additional `assets`
+subdirectory:
+
+        app/platforms/android/assets/www/config.xml
+
+If you use the CLI to create a project, but then shift your workflow
+to an SDK, you need to use an alternate set of source files for
+Android and iOS:
+
+        app/platforms/android/res/www/config.xml
+        app/platforms/ios/<APP_NAME>/config.xml
 
 This section details global and cross-platform configuration options.
 See the following sections for platform-specific options: