mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-24 08:38:51 -05:00
fixed location of ant-contrib.jar in build_common.xml when running ant from tests/.
This commit is contained in:
parent
d070be56de
commit
42ee13741f
@ -8,9 +8,21 @@
|
||||
<!-- ANT-CONTRIB -->
|
||||
|
||||
<!-- jar file from where the tasks are loaded -->
|
||||
<path id="antcontrib">
|
||||
<pathelement path="tools/ant-contrib.jar" />
|
||||
</path>
|
||||
<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">
|
||||
<pathelement path="tools/ant-contrib.jar" />
|
||||
</path>
|
||||
</else>
|
||||
</if>
|
||||
|
||||
<!-- ant-contrib tasks -->
|
||||
<!-- this is normally named propertyregex -->
|
||||
|
Loading…
Reference in New Issue
Block a user