Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 82280 invoked from network); 22 Apr 2003 16:39:00 -0000 Received: from palrel12.hp.com (156.153.255.237) by daedalus.apache.org with SMTP; 22 Apr 2003 16:39:00 -0000 Received: from gort.cv.hp.com (smtp1.cv.hp.com [15.0.200.101]) by palrel12.hp.com (Postfix) with ESMTP id EF01F1C0116D for ; Tue, 22 Apr 2003 09:39:03 -0700 (PDT) Received: from iseran.com (ranier.cv.hp.com [15.87.25.18]) by gort.cv.hp.com (Postfix) with ESMTP id C46141FD1A for ; Tue, 22 Apr 2003 09:39:03 -0700 (PDT) Message-ID: <3EA57071.7020607@iseran.com> Date: Tue, 22 Apr 2003 09:40:17 -0700 From: Steve Loughran User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4a) Gecko/20030302 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Users List Subject: Re: can't look archives - Ant for C?? References: <3EA55638.5060205@avaya.com> <028501c308e1$d9854700$1d073e0a@phx00045> <3EA55FF4.5080806@avaya.com> In-Reply-To: <3EA55FF4.5080806@avaya.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Dean Hiller wrote: > No, not looking for a converter. The program doesn't even need to be > written in C. I just would like to be able to write a build.xml file > and get rid of all the make files that are currently used. I can do > that myself. I don't mind. Just need a program. I will try the > contrib.zip and see what that has. thanks Dominique for that info. I've used in experiments, DD has used it in production. I am now working on some win32 stuff (boo) and will try and set up cruisecontrol/cc/CppUnit to give an imitation of a java build process. > What I am hoping is this will speed up the build of our legacy > system. I don't understand how it takes 5 hours to build a 50 meg > binary and I can build a 15 meg java binary in 10 minutes with ant. I > think it has something to do with make files and the scripts. I have a > feeling if those can be eliminated, the build can be improved > drastically. The above statistics tell me the legacy is around 3.5 > times bigger but takes 30 times as long to build. Has anybody looked at > build performance before? going back to C++, compile times are a shock. But then all those header files are half the problem, macros and templates and the complexity of C++ the other. At compile time, Java builds against the precompiled .class files of other libraries, whereas C++ has to include and recompile every single header file of every library you use. Its funny, you soon get back into the habit of being reluctant to make changes that change the core header files, because of the build impact. That is bad -the tools are shaping the process, not the other way around. The tasks do track dependencies (#included files) for rebuilding when things change, but the only thing that speeds up the build is precompiled headers. I dont know if it handles those. And then of course, there is the linking time... -Steve