ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "S I" <xia...@hotmail.com>
Subject Re: ANT <CVS> Task
Date Wed, 08 Jun 2005 23:30:15 GMT
Here's then another question:

Normally, I tag cvs repository as soon as I checkout since I do not lock the 
repository during a build.  If I tag after a successful build, don't I take 
the chance of someone checking in code between the time I checked out to 
build's completion?  If someone checked in code while I was building then 
the integrity of my build is questionable, no?

Then again I'm not clear of CVS Tagging architecture, in the sense, that 
whether it matches my local working folder's date/time stamp to the live 
repository and that is what it tags only or tags the live repository at its 
current state?   Which is the case?  Does it matter when a buildmaster tags 
their project?

----Original Message Follows----
From: "Alexey N. Solofnenko" <A.Solofnenko@mdl.com>
Reply-To: "Ant Users List" <user@ant.apache.org>
To: Ant Users List <user@ant.apache.org>
Subject: Re: ANT <CVS> Task
Date: Wed, 08 Jun 2005 13:59:15 -0700
MIME-Version: 1.0
Received: from mail.apache.org ([209.237.227.199]) by MC6-F33.hotmail.com 
with Microsoft SMTPSVC(6.0.3790.211); Wed, 8 Jun 2005 14:00:07 -0700
Received: (qmail 14306 invoked by uid 500); 8 Jun 2005 20:59:44 -0000
Received: (qmail 14266 invoked by uid 99); 8 Jun 2005 20:59:43 -0000
Received: pass (hermes.apache.org: local policy)
Received: from mail.mdli.com (HELO mail.mdli.com) (208.200.221.8)  by 
apache.org (qpsmtpd/0.28) with ESMTP; Wed, 08 Jun 2005 13:59:37 -0700
Received: from exch-sl02.mdli.com (exch-sl02.mdli.com [145.36.243.10])by 
mail.mdli.com (Postfix) with ESMTP id F1C9CB5F1Dfor <user@ant.apache.org>; 
Wed,  8 Jun 2005 13:59:19 -0700 (PDT)
Received: from [145.36.245.225] (145.36.245.225 [145.36.245.225]) by 
exch-sl02.mdli.com with SMTP (Microsoft Exchange Internet Mail Service 
Version 5.5.2657.72)id MNRXNJSJ; Wed, 8 Jun 2005 13:59:19 -0700
X-Message-Info: JGTYoYF78jEHjJx36Oi8+Z3TmmkSEdPtfpLB7P/ybN8=
Mailing-List: contact user-help@ant.apache.org; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:user-unsubscribe@ant.apache.org>
List-Help: <mailto:user-help@ant.apache.org>
List-Post: <mailto:user@ant.apache.org>
List-Id: "Ant Users List" <user.ant.apache.org>
Delivered-To: mailing list user@ant.apache.org
X-ASF-Spam-Status: No, hits=0.0 required=10.0tests=
X-Spam-Check-By: apache.org
X-Sybari-Trust: a51e9087 310387b0 ff2cfa98 0000013d
User-Agent: Mozilla Thunderbird 1.0+ (Windows/20050608)
References: <BAY1-F32AB5AC0850647A634B6CFD8FD0@phx.gbl>
X-Virus-Checked: Checked
Return-Path: user-return-50522-xiamak=hotmail.com@ant.apache.org
X-OriginalArrivalTime: 08 Jun 2005 21:00:08.0048 (UTC) 
FILETIME=[0D4F8F00:01C56C6D]

I do not think anybody really cares if you skip few build numbers, but CVS 
tagging can be expensive, so it is better to do it after your build 
successfully finishes.

- Alexey.

S I wrote:
>Hi
>
>I have my ant script to tag our cvs repository projects with the build# 
>recursively after modifying couple of files and continue to do the build.  
>However, if the build down the line fails, I do not have any failsafe 
>mechanism to untag or undo, so I could reuse the same tag and since my 
>build.number file is internally incremented already...if I run c:\>ant 
>target target, naturally I'd get the next build#, so on & so forth.  How do 
>I wanna handle this or does it matter when I skip builds and annouce random 
>builds?
>
>Thanks
>
>Steven
--
------------------------------------------------------------------------
/ Alexey N. Solofnenko
home: http://trelony.cjb.net/
/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message