Try move condition to target block

This commit is contained in:
mittorn 2016-11-24 12:53:22 +00:00
parent fae4e066e9
commit d97cd43174

View file

@ -77,12 +77,12 @@ declared in default.properties.
<!-- Replaces the target in tools\ant\build.xml --> <!-- Replaces the target in tools\ant\build.xml -->
<import file="${sdk.dir}/tools/ant/build.xml" /> <import file="${sdk.dir}/tools/ant/build.xml" />
<target name="-package-resources" depends="-crunch">
<if> <if>
<condition> <condition>
<isset property="test.version"/> <isset property="test.version"/>
</condition> </condition>
<then> <then>
<target name="-package-resources" depends="-crunch">
<!-- this exec replicates the output of the aapt task in build.xml <!-- this exec replicates the output of the aapt task in build.xml
-package-resources with the addition of a rename-manifest-package option. --> -package-resources with the addition of a rename-manifest-package option. -->
<exec executable="${aapt}" failonerror="true"> <exec executable="${aapt}" failonerror="true">
@ -104,9 +104,9 @@ declared in default.properties.
<arg value="--rename-manifest-package" /> <arg value="--rename-manifest-package" />
<arg value="in.celest.xash3d.hl.test" /> <arg value="in.celest.xash3d.hl.test" />
</exec> </exec>
</target>
</then> </then>
</if> </if>
</target>
<!-- Import the actual build file. <!-- Import the actual build file.
To customize existing targets, there are two options: To customize existing targets, there are two options: