Mark,

try this

<project name="tmp" default="all" basedir=".">
  <property name="build" value="./build/" />
  <target name="all" >
    <mkdir dir="${build}" />
    <depend srcdir="${basedir}"
                destdir="${build}"
                cache="depcache"/>
    <javac srcdir="${basedir}"
      depend="on"
      includes="A.java, B.java"
      destdir="${build}"
      classpath=".;${build}"
      debug="on"
      />
  </target>
</project>

This will do things that, I believe, even Jikes' dependency checking will
not achieve. It is not perfect, but is quite workable in most circumstances.
Checkout the <depend> optional task documentation for more info.

Conor

Reply via email to