ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Bucciarelli <mbucciare...@peregrine.com>
Subject RE: Ant 2 Request
Date Thu, 22 Mar 2001 01:42:03 GMT
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:conor@cortexebusiness.com.au]
> Sent: Wednesday, March 21, 2001 6:48 PM
> To: ant-dev@jakarta.apache.org
> 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
> 

Mime
View raw message