1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-25 00:58:50 -05:00

fixed location of ant-contrib.jar in build_common.xml when running ant from tests/.

This commit is contained in:
ashley willis 2012-06-07 22:57:41 -05:00
parent d070be56de
commit 42ee13741f

View File

@ -8,9 +8,21 @@
<!-- ANT-CONTRIB --> <!-- ANT-CONTRIB -->
<!-- jar file from where the tasks are loaded --> <!-- jar file from where the tasks are loaded -->
<if>
<condition>
<isset property="tested.project.dir" />
</condition>
<then>
<path id="antcontrib">
<pathelement path="${tested.project.dir}/tools/ant-contrib.jar" />
</path>
</then>
<else>
<path id="antcontrib"> <path id="antcontrib">
<pathelement path="tools/ant-contrib.jar" /> <pathelement path="tools/ant-contrib.jar" />
</path> </path>
</else>
</if>
<!-- ant-contrib tasks --> <!-- ant-contrib tasks -->
<!-- this is normally named propertyregex --> <!-- this is normally named propertyregex -->