CB-5793 ant builds: Rename AndroidManifest during -post-build to avoid Eclipse detecting ant-build/ as a project when importing

This commit is contained in:
Andrew Grieve 2014-01-25 21:58:28 -05:00
parent 06660383e1
commit 029d1561dc

View File

@ -13,5 +13,9 @@
</path> </path>
<echo message="Set jars path to: ${toString:project.all.jars.path}"/> <echo message="Set jars path to: ${toString:project.all.jars.path}"/>
</target> </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> </project>