mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-20 22:26:54 +01:00
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:
parent
d26a215f34
commit
e2a3e622af
3 changed files with 9 additions and 2 deletions
|
@ -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}"/>
|
||||
|
|
|
@ -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}"/>
|
||||
|
|
|
@ -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"/>
|
||||
|
||||
|
|
Loading…
Reference in a new issue