generate project.properties file

For some reason the 'clean-debug' cycle stopped working because the
file was nuked then not regenerated. Rather than figure out why, just
add a target to generate it every time.
This commit is contained in:
Eric House 2016-07-18 13:25:55 -07:00
parent d26a215f34
commit e2a3e622af
3 changed files with 9 additions and 2 deletions

View file

@ -63,7 +63,7 @@
<antcall target="my-pre-clean" />
</target>
<target name="-pre-build" depends="my-copy-src">
<target name="-pre-build" depends="my-copy-src, my-check-props">
<antcall target="my-pre-build">
<param name="VARIANT_NAME" value="${VARIANT_NAME}"/>
<param name="APP_NAME" value="${APP_NAME}"/>

View file

@ -64,7 +64,7 @@
<antcall target="my-pre-clean" />
</target>
<target name="-pre-build" depends="my-copy-src">
<target name="-pre-build" depends="my-copy-src, my-check-props">
<antcall target="my-pre-build">
<param name="VARIANT_NAME" value="${VARIANT_NAME}"/>
<param name="APP_NAME" value="${APP_NAME}"/>

View file

@ -100,6 +100,13 @@
</exec>
</target>
<!-- For some reason project.properties is suddenly getting
removed by clean and not regenerated. So make sure it's
there. -->
<target name="my-check-props">
<exec executable="../scripts/setup_local_props.sh" />
</target>
<target name="my-pre-compile">
<copy file="./gen/org/eehouse/android/${VARIANT_NAME}/R.java" todir="archive"/>