summaryrefslogtreecommitdiff
path: root/platforms/android/custom_rules.xml
diff options
context:
space:
mode:
Diffstat (limited to 'platforms/android/custom_rules.xml')
-rw-r--r--platforms/android/custom_rules.xml22
1 files changed, 0 insertions, 22 deletions
diff --git a/platforms/android/custom_rules.xml b/platforms/android/custom_rules.xml
deleted file mode 100644
index 66483d3..0000000
--- a/platforms/android/custom_rules.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project>
- <target name="-pre-compile">
- <!-- Fix library references due to bug in build.xml: See: https://groups.google.com/forum/#!topic/android-developers/0ivH-YqCjzg -->
- <pathconvert property="fixedJarsPath" refid="project.all.jars.path">
- <filtermapper>
- <replacestring from="/bin/" to="/ant-build/"/>
- <replacestring from="\bin\" to="\ant-build\"/>
- </filtermapper>
- </pathconvert>
- <path id="project.all.jars.path">
- <pathelement path="${fixedJarsPath}"/>
- </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" />
- </target>
-</project>
-