ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: propertyfile -> builtin task
Date Mon, 07 Jan 2002 17:46:06 GMT

----- Original Message -----
From: "Stefan Bodewig" <bodewig@apache.org>
To: <ant-dev@jakarta.apache.org>
Sent: Monday, January 07, 2002 00:54
Subject: Re: propertyfile -> builtin task


> On Thu, 3 Jan 2002, Steve Loughran <steve_l@iseran.com> wrote:
>
> > well, <propertyfile> lets you increment an entry in a file, so
> > buildnums are done already
>
> Having unique buildnums in a distributed development environment
> involves a little more than incrementing a number in a single local
> property file - my home brewed task simply performs a CVS update
> followed by the increment, followed by a CVS commit.  This still has a
> race condition, but our team is small enough (and not too distributed)
> so that we can live with it.
>

so does my code, thank you very much, using 3 tasks: checkout, increment
checkin. Using cleartool we have no race conditions.




--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message