You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by na...@apache.org on 2014/02/03 19:37:38 UTC
[25/33] git commit: CB-5793 ant builds: Rename AndroidManifest during
-post-build to avoid Eclipse detecting ant-build/ as a project when importing
CB-5793 ant builds: Rename AndroidManifest during -post-build to avoid Eclipse detecting ant-build/ as a project when importing
Project: http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/commit/53e24f14
Tree: http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/tree/53e24f14
Diff: http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/diff/53e24f14
Branch: refs/heads/master
Commit: 53e24f1460fe44f512366ced2f48a2321c4be78c
Parents: 35f2f7d
Author: Andrew Grieve <ag...@chromium.org>
Authored: Sat Jan 25 21:58:28 2014 -0500
Committer: Archana Naik <na...@lab126.com>
Committed: Fri Jan 31 15:09:00 2014 -0800
----------------------------------------------------------------------
bin/templates/project/custom_rules.xml | 4 ++++
1 file changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/blob/53e24f14/bin/templates/project/custom_rules.xml
----------------------------------------------------------------------
diff --git a/bin/templates/project/custom_rules.xml b/bin/templates/project/custom_rules.xml
index d0fedea..4b20e22 100644
--- a/bin/templates/project/custom_rules.xml
+++ b/bin/templates/project/custom_rules.xml
@@ -13,5 +13,9 @@
</path>
<echo message="Set jars path to: ${toString:project.all.jars.path}"/>
</target>
+ <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" />
+ </target>
</project>