| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <project name="Project" default="build" basedir="."> |
| 3 | |
| 4 | <taskdef resource="net/sf/antcontrib/antcontrib.properties" /> |
| 5 | |
| 6 | <property file="propertyselector.properties" /> |
| 7 | |
| 8 | <target name="init"> |
| 9 | <taskdef resource="net/sf/antcontrib/antcontrib.properties"> |
| 10 | <classpath location="${antcontrib.jar}"/> |
| 11 | </taskdef> |
| 12 | <property file="propertyselector.properties" /> |
| 13 | </target> |
| 14 | |
| 15 | <target name="select.test.grouping.0" depends="init"> |
| 16 | <propertyselector property="module.list" |
| 17 | match="module\.([^\.]*)\.id" |
| 18 | delimiter="," |
| 19 | casesensitive="false" /> |
| 20 | |
| 21 | <echo message="${module.list}" /> |
| 22 | </target> |
| 23 | |
| 24 | <target name="select.test.grouping.1" depends="init"> |
| 25 | <propertyselector property="module.list" |
| 26 | match="module\.([^\.]*)\.id" |
| 27 | select="\1" |
| 28 | delimiter="," |
| 29 | casesensitive="false" /> |
| 30 | |
| 31 | <echo message="${module.list}" /> |
| 32 | </target> |
| 33 | |
| 34 | </project> |