Created
April 12, 2016 20:34
-
-
Save anonymous/26ae4ca184fd891b7401c0fb3585087d to your computer and use it in GitHub Desktop.
Ant filesmatch condition sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
foo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
foo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment