If you keep the classes directory around instead of deleting them, a simple cvs update and then javac should do the trick. the javac task will tell whether or not the file needs to be recompiled.
Another route would be to write your own task that would parse the output of cvs status and determine whether or not the files need to be compiled. This is quite expensive time wise. -jason
