I seem to be getting run-time errors in my project when using javac for incremental builds. Is this type of workflow supported? For example, if A.java
depends on B.java
, and B.java
is modified; will javac recompile A.java
because its dependency changed?
Right now I'm using a javac ant build-task for compiling:
<javac destdir="${classes.dir}"
srcdir="${src.dir}"
source="${javac.version}"
debug="${javac.debug}"
deprecation="${javac.deprecation}"
includeantruntime="build.sysclasspath=last">
<classpath refid="compile.classpath" />
<classpath refid="junit.classpath" />
</javac>