From jpschewe@eggplant.mtu.net Wed Oct 4 12:39:23 2000 Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 92702 invoked from network); 4 Oct 2000 12:39:23 -0000 Received: from hl137-192-66-146.hyperlink.onvoy.com (HELO eggplant.mtu.net) (137.192.66.146) by locus.apache.org with SMTP; 4 Oct 2000 12:39:23 -0000 Received: from workstation.mn.mtu.net.mtu.net (jpschewe@workstation.mn.mtu.net [192.168.42.101]) by eggplant.mtu.net (8.10.1/8.10.1) with SMTP id e94CctO32217 for ; Wed, 4 Oct 2000 07:38:55 -0500 (CDT) Sender: jpschewe@workstation.mn.mtu.net To: ant-user@jakarta.apache.org Subject: Re: jikes dependencies and ant References: <3.0.6.32.20001004100018.00a48e90@latcs4.cs.latrobe.edu.au> Reply-To: jpschewe@eggplant.mtu.net From: Jon Schewe Date: 04 Oct 2000 07:38:55 -0500 In-Reply-To: Peter Donald's message of "Wed, 04 Oct 2000 10:00:18 +1000" Message-ID: Lines: 25 User-Agent: Gnus/5.0803 (Gnus v5.8.3) XEmacs/21.1 (Carlsbad Caverns) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Peter Donald writes: > At 08:40 2/10/00 -0500, you wrote: > >jikes +M generates the correct makefile dependancies for me. Now is there a > >way to hook this into ant's depends option on a compile task? > > Not as such but I been thinking about a way to do it as I have been > considering adding in c/c++ tasks recently. Would something like the > following work for you .. > > This would work. When running jikes with +M, by default it creates files .u files in the same directory as the source files where the .u files have one dependancy per line in standard Makefile format. You should be able to do this with only a call to jikes and then a special parser for dependancies for ant. If you want some help, let me know and I can make some time. -- Jon Schewe | http://eggplant.mtu.net/~jpschewe For I am convinced that neither death nor life, neither angels nor demons, neither the present nor the future, nor any powers, neither height nor depth, nor anything else in all creation, will be able to separate us from the love of God that is in Christ Jesus our Lord. - Romans 8:38-39