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 Thu, 09 Jun 2005 21:02:46 GMT
Great Rob. Thank you very much. Your explanation made it very clear. Thanks 
again :)

----Original Message Follows----
From: "Anderson, Rob (Global Trade)" <Rob.Anderson@nike.com>
Reply-To: "Ant Users List" <user@ant.apache.org>
To: "Ant Users List" <user@ant.apache.org>
Subject: RE: ANT <CVS> Task
Date: Thu, 9 Jun 2005 11:12:46 -0700
MIME-Version: 1.0
Received: from mail.apache.org ([209.237.227.199]) by MC8-F33.hotmail.com 
with Microsoft SMTPSVC(6.0.3790.211); Thu, 9 Jun 2005 11:13:08 -0700
Received: (qmail 82562 invoked by uid 500); 9 Jun 2005 18:13:02 -0000
Received: (qmail 82548 invoked by uid 99); 9 Jun 2005 18:13:02 -0000
Received: pass (hermes.apache.org: local policy)
Received: from nbarrierb241.nike.com (HELO barrierb241.nike.com) 
(146.197.27.40)  by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 09 Jun 2005 
11:13:01 -0700
X-Message-Info: JGTYoYF78jF25zk8fyvbtDHKEG0uTla1f/pJPNdrLVY=
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-Server-Uuid: BDE2CC8B-9671-48D4-9A25-CA756DA0A621
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Content-class: urn:content-classes:message
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: ANT <CVS> Task
Thread-Index: AcVshKha0y6nigXOT4m8lweSDR+eeQAmaneg
X-OriginalArrivalTime: 09 Jun 2005 18:12:46.0488 (UTC) 
FILETIME=[D67CD980:01C56D1E]
X-WSS-ID: 6EB659142FC263044-01-01
X-Virus-Checked: Checked
Return-Path: user-return-50568-xiamak=hotmail.com@ant.apache.org

Comments below...

 > -----Original Message-----
 > From: S I [mailto:xiamak@hotmail.com]
 > Sent: Wednesday, June 08, 2005 4:30 PM
 > To: user@ant.apache.org
 > Subject: Re: ANT <CVS> Task
 >
 >
 > 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?

This is true only if you are doing an rtag. A cvs tag will label what you 
currently have checked out in your workspace.

 >
 > 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?

cvs rtag will tag the repository, cvs tag will tag your workspace. Two 
options:

1. cvs rtag, then checkout the tag with cvs co -r tagname
2. cvs co first, then cvs tag

These two possibilities will ensure that what you are building is what is 
tagged, and vice-versa.

-Rob A


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