ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Sando" <jsa...@think1up.com>
Subject RE: How to tell what Javac did?
Date Fri, 26 May 2000 16:27:34 GMT
> From: Stefan Bodewig [mailto:bodewig@bost.de]
>
> >>>>> "JS" == Jason Sando <jsando@think1up.com> 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


Mime
View raw message