ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Emberson <ember...@contact.com>
Subject Re: multiple builds
Date Thu, 16 Aug 2001 21:45:27 GMT

Actually there ought to be an Ant best practices page somewhere - where, not the
low-level questions are answered, but, rather, examples of project and
multi-project
Ant usage.  Ant usage 'patterns'; what a concept.

Sanjay Bhatia wrote:

> Thanks Bevan for the recommendations.  I've been meaning to ask this on the
> list for a while and now is as good a time as any.
>
> I'm interested in seeing examples of buildfiles that work well for you and
> those that you would consider very well organized.  If you have copyright and
> NDA issues to deal with please ignore this.  Feel free to email me directly.
>
> I'm managing a project that's growing at quite a pace and we may have to split
> our file soon.
>
> Thanks,
> sb
>
> PS : One of my fav. cricketers is Michael Bevan.  You're not related are you?
> :)
>
> --- Bevan Arps <bevan.arps@actfs.co.nz> wrote:
> > 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 (<mailto:bevan.arps@actfs.co.nz>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).
> >
> >
>
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/


Mime
View raw message