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
1 changed files with 15 additions and 3 deletions

View File

@ -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 -->