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:[EMAIL PROTECTED]]
>>> Sent: Thursday, May 17, 2001 6:55 AM
>>> To: [EMAIL PROTECTED]
>>> 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
>>> 
...

Reply via email to