ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Leftwich <>
Subject Re: Automatically generating build files
Date Wed, 16 May 2001 22:35:19 GMT
At 02:28 AM 17-05-01, Shaikh, Mehmood wrote:
>I intend to automatically generate build files for my packages by looking at
>my java programs, one thing this requires is the ability to resolve
>dependencies. e.g. if class A imports a class B which is not in my package,
>i want to know that and make a list, then go after that class etc. etc.
>For this purpose i need to parse my java program, to be able to get all the
>import statements and go on from there.
>Does this make sense? Any ideas?

The depend task may have something you can use.
Also, you might be able to use Jikes, specifically the +M option which will 
generate makefile dependencies for you.


View raw message