Tag: ant


Running different ANT tasks depending on the operating system

How to run a different series of tasks inside of a single target tag based on the operating system so that your build script will work on all operating systems. There are three ways to do it: 1.) The first way is to have a different task for each ope...

Replace a token with a variable using ANT

You may be looking for the following: How do you replace a string in a file using a property in ANT? How do you replace a string using a variable in ANT? There are a few ways to do this. First question is what do you mean by a variable? Do you mean ...