Can't you just compile them all at once? Like this:

<target name="compile1" depends="prepare">
  <javac srcdir="${base}"
         includes="**/*.java"
         destdir="${build}"
         filtering="on"
         debug="on" />
</target>

NOTE: The Ant documentation is misleading. Ant is not like Make - it knows nothing about dependencies (shoot me down if I'm wrong here, people). It is really just a simple build scripting tool, and it relies on the compiler to handle dependencies (Sun javac is quite good, jikes is allegedly even better with its +F option). In a situation where you have no class files yet, everything will be compiled, so there is no problem. (Just tell your users to run the "clean" target and build again, if there is a build problem - of course, efficiency goes out of the window, but you can't have everything! ;) ;)

Bryan Galligan wrote:
attached is the build.xml file as well as the logfile that contains the
errors.

______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com



Reply via email to