-
- <taskdef resource="net/sf/antcontrib/antcontrib.properties">
- <classpath>
- <pathelement location="build/ant-contrib-0.6.jar"/>
- </classpath>
- </taskdef>
- <exec executable="svn" outputproperty="svnlog.out" >
- <arg line="info ."/>
- </exec>
- <propertyregex property="revision" input="${svnlog.out}" select="\1">
- <regexp pattern="Revision: ([0-9]*)"/>
- </propertyregex>
- <propertyregex property="date" input="${svnlog.out}" select="\1">
- <regexp pattern="Date: (.+\))"/>
- </propertyregex>