Sweet--that worked find.  

I think a simple reference to the <depend> task in the <javac> manual page
would be sufficient.

> -----Original Message-----
> From: Conor MacNeill [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 21, 2001 6:48 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Ant 2 Request
> 
> 
> 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