I am using a 'compile.all' target. At first I was having problems with not getttng dependent classes to recompile until I found I was using the src and path incorrectly. For me, getting the src attribute to point to the top of the package hierarchy and the include attribute to point to the actual source files worked:
<target name="compile.all" depends="prepare">
<javac srcdir="${src}" destdir="${build}" includes="**/*.java" />
</target>
Josef
