Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 34026 invoked by uid 500); 15 Aug 2001 23:00:49 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 34016 invoked from network); 15 Aug 2001 23:00:48 -0000 Message-Id: <5.1.0.14.0.20010816104756.00a77ae0@actwel450> X-Sender: bevan.arps@actwel450 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Thu, 16 Aug 2001 10:57:35 +1200 To: ant-user@jakarta.apache.org, From: Bevan Arps Subject: Re: multiple builds In-Reply-To: <1171E12B84A02B4584B3BD41F8D7E29E225501@NTEXCH.graviton.com > Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=====================_7481988==_.ALT" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N --=====================_7481988==_.ALT Content-Type: text/plain; charset="us-ascii"; format=flowed At 11:33 15/08/2001 -0700, Steve Wells wrote: >Is anybody out there using Ant for multiple builds, including >sub-projects, etc? If so what are your recommendations & other >considerations involved? I'm using Ant for both production and daily builds of a large number of Delphi applications. It works extremely well. My recommendations would be these: -- Keep the size of your build files down where possible I make extensive use of AntCall which results in the Build files being reparsed multiple times. I have successfully split the builds across over a dozen build files (for different groups of applications). -- Be systematic Don't hack the files together - plan what you need and approach it in a methodical manner. Hack & slash (as always) work for the small cases, not for the large. -- Refactor If you find stuff you're repeating, look to see how you can refactor it to reduce complexity 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). --=====================_7481988==_.ALT Content-Type: text/html; charset="us-ascii" At 11:33 15/08/2001 -0700, Steve Wells wrote:
Is anybody out there using Ant for multiple builds, including
sub-projects, etc?  If so what are your recommendations & other
considerations involved?

I'm using Ant for both production and daily builds of a large number of Delphi applications.

It works extremely well.

My recommendations would be these:

-- Keep the size of your build files down where possible
I make extensive use of AntCall which results in the Build files being reparsed multiple times. I have successfully split the builds across over a dozen build files (for different groups of applications).

-- Be systematic
Don't hack the files together - plan what you need and approach it in a methodical manner. Hack & slash (as always) work for the small cases, not for the large.

-- Refactor
If you find stuff you're repeating, look to see how you can refactor it to reduce complexity

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).

--=====================_7481988==_.ALT--