> From: Stefan Bodewig [mailto:[EMAIL PROTECTED] > > >>>>> "JS" == Jason Sando <[EMAIL PROTECTED]> writes: > > JS> I have some class post-processing and some reflection/source code > JS> generation after the compile step, it would be ideal if it only > JS> invoked this step if javac actually did anything. > > Wouldn't it be better to code your post processing so that it can > determine whether it has some work to do itself? Maybe you could just > compare the creation dates of the class files with the dates of your > generated output? >
You are correct, its the only option. I'm generating source and exec'ing javac/jikes, so the "targets" may not even be present in the file system. Knowing what the javac task did incrementally doesn't ensure that all my generated classes are up to date. thanks, -j
