28
The ANT api manual can be found
here and is a good place for reference.
Best way to appreciate the ANT is by an example.
To create an ANT file just create a build.xml file (any xml file will do) in Eclipse, load it into the editor then press Alt + SHIFT + X then press Q to run the currently loaded ANT script in eclipse.
Here is one I made earlier
xml version="1.0" encoding="UTF-8"?>
vpproject/**, **/*.psd, .cdtproject, .project,
**/*.bak, class/svn/cache/*, exports/**, help/**, **/*.zpj,
class/gateways/*.txt, class/gateways/IPG.php"/>
The same logic can then be expanded to distribute files via FTP etc... There are almost no limits.*/