ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <>
Subject Re: Incremental Compilation and ant
Date Fri, 21 Jul 2000 01:49:05 GMT
At 05:10  20/7/00 -0700, you wrote:
>Javac task filters the list of input source files to only those that are
>newer than corresponding .class files. Which is great. But, not all files
>that need to be recompiled are always recompiled. For instance, if we change
>a method signature of a base class, all subclasses are not automatically
>recompiled, creating an inconsistency.
>Is there are solution for this problem (other than deleting the entire class

Use jikes compiler and add

  <property name="build.compiler" value="jikes"/>
  <property name="build.compiler.emacs" value="on"/>
  <property name="build.compiler.warnings" value="true"/>
  <property name="build.compiler.depend" value="true"/>

to your buildfile



| "Nearly all men can stand adversity, but if you want |
| to test a man's character, give him power."          |
|       -Abraham Lincoln                               |

View raw message