Add a comment to custom_rules.xml saying why we move AndroidManifest.xml
Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/94de0a7c Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/94de0a7c Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/94de0a7c Branch: refs/heads/4.0.x Commit: 94de0a7ce2a233cbadcff3489398b0e1bce0538c Parents: 36e9fb2 Author: Andrew Grieve <[email protected]> Authored: Tue Jun 3 15:28:45 2014 -0400 Committer: Andrew Grieve <[email protected]> Committed: Tue Jun 3 15:29:06 2014 -0400 ---------------------------------------------------------------------- bin/templates/project/custom_rules.xml | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-android/blob/94de0a7c/bin/templates/project/custom_rules.xml ---------------------------------------------------------------------- diff --git a/bin/templates/project/custom_rules.xml b/bin/templates/project/custom_rules.xml index 4b20e22..66483d3 100644 --- a/bin/templates/project/custom_rules.xml +++ b/bin/templates/project/custom_rules.xml @@ -13,6 +13,7 @@ </path> <echo message="Set jars path to: ${toString:project.all.jars.path}"/> </target> + <!-- Rename AndroidManifest.xml so that Eclipse's import wizard doesn't detect ant-build as a project --> <target name="-post-build"> <move file="ant-build/AndroidManifest.xml" tofile="ant-build/AndroidManifest.cordova.xml" failonerror="false" overwrite="true" /> <move file="CordovaLib/ant-build/AndroidManifest.xml" tofile="CordovaLib/ant-build/AndroidManifest.cordova.xml" failonerror="false" overwrite="true" />
