ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David McTavish <>
Subject RE: ant and clearcase
Date Mon, 11 Aug 2003 18:49:06 GMT
Our builds are around 1-2 minutes over the dynamic view. I imagine that the
biggest impact of using the dynamic view is that all of your files are
stored on a network share.  In order to improve this, there is really only
two approaches: 
 a) improve server performance
 b) improve compile efficiency 

Cheaper solution is obviously b), but also harder to implement.  There was a
good thread a couple of weeks ago about compiling only recently-changed
source files, etc.  I've spent a lot of time in our build trying to add
logic for minimizing the impact of importing dependencies from peer
products, etc. as well as try to only compile .java source files that have
modified since the last build.  These steps have helped reduce delta build
times to around 30 seconds (although this does not include our .jsp
pre-compile issues, as I haven't yet found a clean solution to determine if
a .jsp file was modified since the last time it was pre-compiled to a .java
file and then compiled into a .class file...)


-----Original Message-----
From: Alexey N. Solofnenko []
Sent: Monday, August 11, 2003 2:39 PM
To: Ant Users List
Subject: Re: ant and clearcase

We found that dynamic view is several times slower than snapshot view (3 
minutes build comparing to 45 minutes on a fast computer). Do you know 
any tricks to make dynamic views faster?

- Alexey.

{ } Alexey N. Solofnenko
Pleasant Hill, CA (GMT-8 usually)

David McTavish wrote:

>We use CC extensively and all developers use dynamic views unless extreme
>circumstances prevent this (ie: they work on a laptop and frequently work
>from home).  One thing to note is that this configuration enforces clean
>"check-ins", as all users see check-ins immediately (usually within 1
>minute).  We've found this to be a good thing as it ensures that code
>compiles before merged to the repository, and also encourages more frequent
>AND clean check-ins.
>I'd highly recommend using dynamic, only for the reasoning that it is MUCH
>easier to manage merges. (merging XML with CC can still be a pain).
>As far as sending scripts... not really much I can send that is special to
>using CC within Ant that isn't so proprietary it wouldn't do you much good.
>I do use some of the CCase tasks in the optional targets package, which are
>useful, but I do alot of exec calls to invoke the cleartool.exe directly to
>get all the functionality I need.  I think for tackling something like
>you'll have to first size-up what you need, before anyone could give you a
>cookie-cutter solution.  I think in the long-run, which implementation of a
>revision control system you choose will be secondary to the management of
>the build environment itself. (Although CC does make things a lot easier
>over other solutions). So, once you start determining what exactly you WANT
>to do with Ant, then will you understand what you need to ask to get it
>done. Unfortunately, there isn't much else I can provide at this time.
>-----Original Message-----
>From: []
>Sent: Monday, August 11, 2003 2:27 PM
>To: Ant Users List
>Subject: ant and clearcase
>can some one send me the scripts which can help me in using ant and
>clearcase for deployment.
>for deployment wich view is recomended dynamic or snapshot view.
>If some one has gone through the process i want to know the best possible
>Rakesh Shringi
>To unsubscribe, e-mail:
>For additional commands, e-mail:
>To unsubscribe, e-mail:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message