| 1 | <project default="invalid"> |
| 2 | <target name="invalid"> |
| 3 | <fail>Don't call this file directly.</fail> |
| 4 | </target> |
| 5 | |
| 6 | <taskdef resource="net/sf/antcontrib/antcontrib.properties"> |
| 7 | <classpath location="${antcontrib.jar}"/> |
| 8 | </taskdef> |
| 9 | |
| 10 | <target name="consistency"> |
| 11 | <osfamily property="foo"/> |
| 12 | <condition property="consistent"> |
| 13 | <os family="${foo}"/> |
| 14 | </condition> |
| 15 | </target> |
| 16 | |
| 17 | <target name="missingProperty"> |
| 18 | <osfamily/> |
| 19 | </target> |
| 20 | </project> |