ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@cortexebusiness.com.au>
Subject RE: Ant 2 Request
Date Wed, 21 Mar 2001 23:48:01 GMT
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


Mime
View raw message