ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denis N. Antonioli <anto...@ifi.unizh.ch>
Subject Re: auto dependency generation?
Date Wed, 10 Apr 2002 21:18:08 GMT

On Mercredi, avril 10, 2002, at 09:10 , Diane Holt wrote:

> --- kenyee@keysolutions.com wrote:
>> Is there a simple way to generate a dependency file for
>> inclusion into build.xml?
>
> There's the <depend> task, but it works once the class files are all
> compiled (since it uses them to determine the dependencies).

...which won't find things such as final fields, or other inlined 
members of a class.

To be on the safe side, you need to parse the java sources. Two hints 
for free tools:
1) jikes has an option to generate dependencies
2) <http://code.werken.com/werken.javad/ >

Greetings
	Denis N. Antonioli
--
All human activity was useless, but some kinds were more pleasant than 
others.
   -- D. Lodge, Ginger, you're barmy


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message