On Sep 9, 2005, at 1:16 AM, Knut Anders Hatlen wrote:

  3. I haven't used ant much, but couldn't ant check whether the main

     source file is newer than the copy? 


Yes, Ant's <uptodate> task is available for doing exactly that.

http://ant.apache.org/manual/CoreTasks/uptodate.html

andrew