summaryrefslogtreecommitdiffstats
path: root/test/resources/platform/osfamily.xml
blob: c90b07f1e00328a6fec1aaa0160477cc32d4a084 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<project default="invalid">
  <target name="invalid">
    <fail>Don't call this file directly.</fail>
  </target>

  <taskdef resource="net/sf/antcontrib/antcontrib.properties">
    <classpath location="${antcontrib.jar}"/>
  </taskdef>

  <target name="consistency">
    <osfamily property="foo"/>
    <condition property="consistent">
      <os family="${foo}"/>
    </condition>
  </target>

  <target name="missingProperty">
    <osfamily/>
  </target>
</project>