Try move condition to target block
This commit is contained in:
parent
fae4e066e9
commit
d97cd43174
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||||
|
|
Loading…
Add table
Reference in a new issue