Skip to content

Instantly share code, notes, and snippets.

Created April 12, 2016 20:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/26ae4ca184fd891b7401c0fb3585087d to your computer and use it in GitHub Desktop.
Save anonymous/26ae4ca184fd891b7401c0fb3585087d to your computer and use it in GitHub Desktop.
Ant filesmatch condition sample
<project name="Test" default="foo" basedir=".">
<description>
Test
</description>
<target name="init">
<condition property="property" value="true">
<filesmatch file1="file1"
file2="file2"/>
</condition>
</target>
<target name="foo" depends="init" if="property">
<echo>Value: ${property}</echo>
</target>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment