ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justinus Menzel" <justinus.men...@lbri.lionbioscience.com>
Subject RE: does depend work and if how?
Date Thu, 17 May 2001 14:25:45 GMT
Yep, thanks that's all I needed.
It makes perfect sense that <depend> behaves like <javac>,
maybe the documentation of <depend> should mention that.

thanks again,
Cheers

Justinus

>>> -----Original Message-----
>>> From: Conor MacNeill [mailto:conor@cortexebusiness.com.au]
>>> Sent: Thursday, May 17, 2001 6:55 AM
>>> To: ant-user@jakarta.apache.org
>>> Subject: Re: does depend work and if how?
>>> 
>>> 
>>> Justinus,
>>> 
>>> <depend> should be given attributes with the same values as 
>>> <javac> since
>>> it uses the same conventions for relating source files to class 
>>> files. Thus
>>> in your example, Change your depend task to
>>> 
>>> <depend srcdir="."
>>>               destdir="${build_dir}
>>>               closure="yes"
>>>               includes="${subtree}/**/*.java"
>>> 
>>> />
>>> 
>>> Note that this will, potentially, delete class files outside 
>>> the ${subtree}
>>> directory if they depend on files within the ${subtree} area and those
>>> files are out of date.
>>> 
>>> Conor
>>> 
...

Mime
View raw message