Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 48126 invoked from network); 20 Nov 2001 19:36:29 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 20 Nov 2001 19:36:29 -0000 Received: (qmail 9647 invoked by uid 97); 20 Nov 2001 19:36:18 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 9631 invoked by uid 97); 20 Nov 2001 19:36:18 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 9620 invoked from network); 20 Nov 2001 19:36:17 -0000 Message-Id: <5.1.0.14.0.20011121081709.00ac1ec0@actwelsvr14> X-Sender: bevan.arps@actwelsvr14 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 21 Nov 2001 08:33:01 +1300 To: "Ant Users List" From: Bevan Arps Subject: Re: Converting C / visual C++ makefiles to Ant In-Reply-To: <4EF5B694DF1CD211B4B60060085595A45DEB41@inferno.swindon.div ine.com> References: <4EF5B694DF1CD211B4B60060085595A4AE71B0@inferno.swindon.divine.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=====================_482548788==_.ALT" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --=====================_482548788==_.ALT Content-Type: text/plain; charset="us-ascii"; format=flowed At 15:56 20/11/2001 +0000, you wrote: >Has anyone else decided to do this and if so, did they get enough value out >of the excercise or was it too painful? While Ant is designed to do the same kind of job as "make", don't make the mistake of assuming it works the same way. Superficially, Ant seems similar to make, but the "Ant Way" is quite different. A key part of this is that the Ant tasks have built in smarts in a way that make doesn't. A quick example to illustrate (please forgive my syntax, it's been a while): In Make you typically define a list of files that are required eg $OBJS = alpha.o beta.o gamma.o delta.o together with a rule covering how .o files are made from .c files .c.o: cc $! -o $$ In Ant, you don't need to define an explicit list of files and the tasks already know how to make .class from .java I don't believe that you will be able to do a straight conversion from a makefile to an Antfile. Hope this helps, Bevan. -- "Programming is an Art Form that Fights Back" Bevan Arps (bevan.arps@actfs.co.nz) Senior OO Analyst, ACT Financial Systems This communication is confidential to ACT Financial Systems (Asia Pacific) and is intended for use only by the addressee. The views and opinions expressed in this email are the senders own and do not represent the views and opinions of ACT Financial Systems (Asia Pacific). --=====================_482548788==_.ALT--