ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@mad.scientist.com>
Subject Re: Java dependencies in Ant
Date Mon, 25 Sep 2000 11:09:00 GMT
At 11:58  25/9/00 +0200, you wrote:
>Hi, <<build.xml>>  <<depend.txt>>  <<makefile>> 
>
>If I have
>class A { B b; } 
>class B { C c; } 
>class C { } 
>Clearly class A depends on class B, and class B depends on class C. Suppose
>each is in their own file: A.java, B.java, and C.java. 
>I would like to know if it's possible to build an ANT xml file like the
>makefile I included as an attachment. (eg. when I edit C.java , A and B
>should also be rebuild because they depend on C)
>The attached ant build.xml doesn't do this.
>
>Any suggestions?

It is a feature of compiler and not ant. Try downloading jikes and using
full dependancy checking to achieve this functionality.

Cheers,

Pete

*------------------------------------------------------*
| "Nearly all men can stand adversity, but if you want |
| to test a man's character, give him power."          |
|       -Abraham Lincoln                               |
*------------------------------------------------------*

Mime
View raw message