Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 895 invoked from network); 1 Jun 2009 16:49:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Jun 2009 16:49:17 -0000 Received: (qmail 75774 invoked by uid 500); 1 Jun 2009 16:49:28 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 75707 invoked by uid 500); 1 Jun 2009 16:49:28 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 75697 invoked by uid 99); 1 Jun 2009 16:49:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Jun 2009 16:49:28 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [76.13.9.103] (HELO web65711.mail.ac4.yahoo.com) (76.13.9.103) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 01 Jun 2009 16:49:16 +0000 Received: (qmail 40836 invoked by uid 60001); 1 Jun 2009 16:48:54 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1243874934; bh=8LMCxnncsBHXpfOYtDOoONlRMbkxqsRR/cRKdzt7Wzc=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=QNxkg4+paKHpwtbNTpgr0yFcQNpe8ZXayk3sngiMR2ltRDT+c6yQ2vGwpLz8BlbBpeyyeIG1e5JBap6yXu30r/N8jpI9e3MmWFCT4oMQMguInu7otRw7oMMUhhDXGVDBiR+qjtUkEmM0+cL6FvgFGQwWWtx9vUmqoYaaqd0yKGQ= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=PrAywuZWpLuiAMso+fmJ79KCA0qcOHF9V8/hMjQ+NQNKLMr3adbqNrziB3F/rLMzeO75pi/Aa3a/pXKnYGaoV6bF/IYTX3loxdp3G+BnVBTBUpxCaOiRcjMKS4SmDzKjq/nq0H4HPAphPUSSybVvH0n9UITGYmTcGVEcOh4V5V0=; Message-ID: <634117.40582.qm@web65711.mail.ac4.yahoo.com> X-YMail-OSG: xUYs66IVM1nxqOUR5XCXSFVYxtuX1MNnlzc1._DfO5QVjmdB0uvZ9EmIhSu5F664gMM9iDkePYi.5xrja5gx1ycFjmy1EDox5xUhtzwTcYyfKSS0NRfqRjqN61SUapYKJfMYgXtzuXwyg3bwPQMKYSF811I6B.xMLokIWFzc4xbwjkMjSRtYmbOq_U4FskjC98BhMEwTSIdh5cn.tOy_.Jwtk2X5st4ISk5ieqiLUXTGQVfH44iivlW90UuaBvCUjFM73ubG1n8kkdQgMJwh7p6d6jjRV0C7NVKDt0KYEmrZ1vBbgrU- Received: from [66.28.53.2] by web65711.mail.ac4.yahoo.com via HTTP; Mon, 01 Jun 2009 09:48:53 PDT X-Mailer: YahooMailRC/1277.43 YahooMailWebService/0.7.289.10 References: <915397.77756.qm@web65713.mail.ac4.yahoo.com> <515521.53234.qm@web65708.mail.ac4.yahoo.com> Date: Mon, 1 Jun 2009 09:48:53 -0700 (PDT) From: Eric Fetzer Subject: Re: Use of Sleep To: Ant Users List In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1678164564-1243874933=:40582" X-Virus-Checked: Checked by ClamAV on apache.org --0-1678164564-1243874933=:40582 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Will "updates" get rid of files that got deleted from the repository?=A0 I = don't like not having an accurate BOM.=A0 I want to know every file and wha= t version of that file makes up my build.=A0 When I remove the=A0directorie= s and re-check my files out every time, I'm afforded the abiility to keep a= n accurate BOM and know that=A0the BOM represents the product exactly.=A0 O= therwise, what confidence can I lend the customer that I know what I delive= red to them?=0A=0A=0A=0A________________________________=0AFrom: David Wein= traub =0ATo: Ant Users List =0ASent= : Monday, June 1, 2009 9:19:16 AM=0ASubject: Re: Use of Sleep=0A=0AOn Mon, = Jun 1, 2009 at 10:39 AM, Eric Fetzer wrote:=0A=0A> A= good piece of the time, David, is allocated to check out of A LOT of=0A> c= ode.=A0 It also ftp's some very large files over a WAN.=A0 As I take over t= hese=0A> builds, I will be digging further in where all the time is going, = but for=0A> now, I'm just trying to get rid of totally unnecessary aspects = of the build.=0A=0A=0AI normally don't have Ant do my checkouts since you f= irst have to checkout=0Athe build.xml file to do the initial checkout. We u= se Hudson for our=0Acontinuous integration, and Hudson handles the checkout= s for us. That way, I=0Adon't even have to define a checkout task in our bu= ild.xml file. (See <=0Ahttp://hudson.dev.java.net/>). You might want to swi= tch from checkouts to=0Aupdates since updates only update changed files, an= d don't checkout=0Aeverything from scratch again.=0A=0AThere are specific A= nt checkout tasks for various version control systems,=0Abut I usually don'= t find them any faster than . Unless the task=0Aruns in the ba= ckground (spawn=3D"true"), it should wait for the task to=0Acomplete= . That means you shouldn't be having tasks to wait for the=0Achecko= ut to complete.=0A=0AYou normally run an task in the background when= you're doing things=0Alike starting up a server, so you can run your tests= . Otherwise, the default=0Ais to wait for the command to complete. B= TW, there is a "timeout"=0Aparameter for the task that can help kill= an otherwise lollying=0Aprogram, but it has a bit of trouble on Windows sy= tems.=0A=0ABest of luck speeding up your build. When I first got to my curr= ent job,=0Abuilds took 30+ minutes to complete. I rewrote the build.xml fil= e from=0Ascratch, and speeded it up to only "12 minutes". Meanwhile, we've = pulled=0Aprojects out of our main build, and each one of these build in und= er 2 or 3=0Aminutes. The "big" project still takes about 9 minutes to build= . Not where=0AI'd like it, but much better than it was before.=0A=0AMy expe= rience shows that when builds take forever, developers simply don't=0Atest = as well, and your code gets sloppier.=0A=0A-- =0ADavid Weintraub=0Aqazwart@= gmail.com=0A=0A=0A=0A --0-1678164564-1243874933=:40582--