This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
It will be easier to illustrate what I want to do with an example:
When we "deploy", we copy everything from our main/deploy folder to our generated build/deploy folder.
I would like to know if it is possible for Ant to copy ONLY the files that were modified since the last deploy and how to achieve this ?
Also, would it be possible for Ant to detect changes in the main/deploy folder and to automatically do the deploy when a change is made to any file in main/deploy ?
I've looked for a way to achieve this in the ant manual and accross the web, I have seen the <UpToDate> task but I fail to see how to actually include it in my code to be able to automatically detect changes to files in a folder and then call a target only on modified files when such a change is detected.