]>
Commit | Line | Data |
---|---|---|
24eaf8f7 ER |
1 | https://ant.apache.org/manual/Tasks/resourcecount.html |
2 | ||
3 | Display or set a property containing the size of a nested Resource Collection. | |
4 | Can also be used as a condition. Since Apache Ant 1.7 | |
5 | ||
6 | --- apache-ant-1.7.1/build.xml~ 2008-06-27 08:05:23.000000000 +0300 | |
7 | +++ apache-ant-1.7.1/build.xml 2012-05-08 08:09:17.536508489 +0300 | |
8 | @@ -501,12 +501,14 @@ | |
9 | ||
10 | <condition property="tests.are.on.system.classpath"> | |
11 | <or> | |
12 | + <!-- | |
13 | <resourcecount count="1"> | |
14 | <intersect> | |
15 | <path path="${java.class.path}" /> | |
16 | <file file="${build.tests}" /> | |
17 | </intersect> | |
18 | </resourcecount> | |
19 | + --> | |
20 | <istrue value="${junit.fork}"/> | |
21 | </or> | |
22 | </condition> |