<target name="check-abc">
<available file="abc.txt" property="abc.present"/>
</target>
<target name="do-if-abc" depends="check-abc" if="abc.present">
...
</target>
More Related Contents:
- In MATLAB, can I have a script and a function definition in the same file?
- Ant: How to execute a command for each file in directory?
- Changing Vim indentation behavior by file type
- Symfony2 file upload step by step
- Batch: Remove file extension
- Script to associate an extension to a program
- Trying to copy file from one XP PC to another using WMI, since RPC and UNC are not available
- How do I find files that do not contain a given string pattern?
- How to read/write from/to a file using Go
- How can I find encoding of a file via a script on Linux?
- How to limit the number of dropzone.js files uploaded?
- Powershell: Check if a file is locked
- for IE gives full path, need file name only
- batch file: list rar file in specific folder and write result into text file
- How do I move files in node.js?
- Has Windows 7 Fixed the 255 Character File Path Limit?
- character showing up in files. How to remove them?
- Force download of ‘data:text/plain’ URL
- Convert DOS/Windows line endings to Linux line endings in Vim
- How to find the largest file in a directory and its subdirectories?
- Is the MIME type ‘image/jpg’ the same as ‘image/jpeg’?
- File Uri Scheme and Relative Files
- Download file from url, save to phones storage
- How to check if a file exists in Go?
- Printing the last column of a line in a file
- Log4Net config in external file does not work
- Reading a .pdb file
- Whats the default path for static files in Angular2?
- split file on Nth occurrence of delimiter
- Comparing folders and content with PowerShell