summaryrefslogtreecommitdiffstats
path: root/test/resources/property/propertyselector.xml
diff options
context:
space:
mode:
authormattinger <[email protected]>2006-07-06 21:53:00 +0000
committermattinger <[email protected]>2006-07-06 21:53:00 +0000
commit1159111b7a71b72eb04326df33211e1733f7e742 (patch)
treef0a80c384f633e521649654ab78e6239cf5e0d6f /test/resources/property/propertyselector.xml
Initial addition into subversion with build script changes
git-svn-id: file:///home/sven/projects/JOGL/temp/ant-contrib/svn/ant-contrib-code/trunk/ant-contrib@5 32d7a393-a5a9-423c-abd3-5d954feb1f2f
Diffstat (limited to 'test/resources/property/propertyselector.xml')
-rw-r--r--test/resources/property/propertyselector.xml34
1 files changed, 34 insertions, 0 deletions
diff --git a/test/resources/property/propertyselector.xml b/test/resources/property/propertyselector.xml
new file mode 100644
index 0000000..d03eea0
--- /dev/null
+++ b/test/resources/property/propertyselector.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="Project" default="build" basedir=".">
+
+ <taskdef resource="net/sf/antcontrib/antcontrib.properties" />
+
+ <property file="propertyselector.properties" />
+
+ <target name="init">
+ <taskdef resource="net/sf/antcontrib/antcontrib.properties">
+ <classpath location="${antcontrib.jar}"/>
+ </taskdef>
+ <property file="propertyselector.properties" />
+ </target>
+
+ <target name="select.test.grouping.0" depends="init">
+ <propertyselector property="module.list"
+ match="module\.([^\.]*)\.id"
+ delimiter=","
+ casesensitive="false" />
+
+ <echo message="${module.list}" />
+ </target>
+
+ <target name="select.test.grouping.1" depends="init">
+ <propertyselector property="module.list"
+ match="module\.([^\.]*)\.id"
+ select="\1"
+ delimiter=","
+ casesensitive="false" />
+
+ <echo message="${module.list}" />
+ </target>
+
+</project>