You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by S I <xi...@hotmail.com> on 2005/06/08 22:50:23 UTC
ANT Task
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
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: ANT Task
Posted by "Alexey N. Solofnenko" <A....@mdl.com>.
If I am not mistaken, you tag file revisions that are currently loaded
in your sand box. If you used ClearCase with dynamic view the files
could be changed on a fly, but with CVS it will not happen.
- Alexey.
S I wrote:
> 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?
>
--
------------------------------------------------------------------------
/ 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
Re: ANT Task
Posted by S I <xi...@hotmail.com>.
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....@mdl.com>
Reply-To: "Ant Users List" <us...@ant.apache.org>
To: Ant Users List <us...@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 <us...@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: <ma...@ant.apache.org>
List-Help: <ma...@ant.apache.org>
List-Post: <ma...@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: <BA...@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
Re: ANT Task
Posted by "Alexey N. Solofnenko" <A....@mdl.com>.
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