Details |
Last modification |
View Log
| RSS feed
| Rev |
Author |
Line No. |
Line |
| 1861 |
otorres |
1 |
<project name="ant-junit">
|
|
|
2 |
|
|
|
3 |
<!--
|
|
|
4 |
- Check to see if junit jar is deployed in ANT, and if it is not, deploy it and fail.
|
|
|
5 |
-->
|
|
|
6 |
<available property="ant-junit.jar.available" filepath="${env.ANT_HOME}/lib" file="ant-junit.jar"/>
|
|
|
7 |
<available property="junit.jar.available" filepath="${env.ANT_HOME}/lib" file="junit.jar"/>
|
|
|
8 |
|
|
|
9 |
<if>
|
|
|
10 |
<not>
|
|
|
11 |
<and>
|
|
|
12 |
<isset property="ant-junit.jar.available"/>
|
|
|
13 |
<isset property="junit.jar.available"/>
|
|
|
14 |
</and>
|
|
|
15 |
</not>
|
|
|
16 |
<then>
|
|
|
17 |
<property name="force.fail.message" value="junit.jar MUST be deployed in ${env.ANT_HOME}/lib (where ant-junit.jar lives). Please copy ${env.GBE_DPKG)/Junit/3.8.1.cots/jar/junit.jar to ${env.ANT_HOME}/lib."/>
|
|
|
18 |
<fail/>
|
|
|
19 |
</then>
|
|
|
20 |
</if>
|
|
|
21 |
|
|
|
22 |
</project>
|