I was just able to get Apache ANT running on my computer. The `ant -version` commando outputs the version number , verifying that the installation went well.

I have read that [ANT is well suited to handle deployment](http://www.julienlecomte.net/blog/2007/09/16/) of web applications including PHP projects and have spent some time to get it working, but I just can't get my head around how to set it up to sync my files to my web server.

**How can I make ANT sync `folderA` with `folderB` ?**

Thanks