It seems that javac recurses through all dependencies
for a given app.java, and creates *.class as needed.
However, it does not seem to check whether the *.java
file is more recent?

If that's the case (might be worth submitting a
JDC Bug Parade Entry), is there any way to tweak
GNU make to handle this? You obviously can't use
gcc/CPP, and I would like to avoid manually listing
dependencies that might change. There is also the
issue of the wildcard based "import overkill" that
creates dependencies that are not real.

For larger projects, javac execution time might be
an issue. I am using a Makefile as simple as I
haven't seen it in years (just a few implicit
rules), but w/o said check for modified sources,
it won't do.

Any suggestions? Am I missing a JDK tool?


                                        b.

 

Reply via email to