Re: [NAnt-users] Automatically updating build number on nightly builds

2005-12-15 Thread Brass Tilde
NAntContrib (nantcontrib.sf.net) has the task. We use it to increment the build numbers in our builds and then check the build.number file into the source repository (SVN). FWIW, we use CruiseControl.NET to do our nightly builds, and it has the capability to keep track of version numbers, and

RE: [NAnt-users] Automatically updating build number on nightly builds

2005-12-15 Thread Kedziora, Rebecca
I tried to use the version task but since our last number is 100, it would always force it to a 0. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bill Arnette Sent: Thursday, December 15, 2005 12:21 PM To: nant-users@lists.sourceforge.net Subject: RE: [

RE: [NAnt-users] Automatically updating build number on nightly builds

2005-12-15 Thread Bill Arnette
NAntContrib (nantcontrib.sf.net) has the task. We use it to increment the build numbers in our builds and then check the build.number file into the source repository (SVN). --- This

RE: [NAnt-users] Automatically updating build number on nightly builds

2005-12-15 Thread Kedziora, Rebecca
We use clearcase and each project has their own Version file checked in. The contents of the Version file would be: 1.0.20.100 The common.build is for all products that use the same tasks - like incrementing the build number and such. Here is a product build script and you will see how it use

RE: [NAnt-users] Automatically updating build number on nightly builds

2005-12-15 Thread Tim Mayert
Thanks Rebecca, Does your version file only contain the one version or multiple versions for other projects? And do you include this file in your build or does your project files use this file to insert the build version? Thanks, Tim. -Original Message- From: Kedziora, Rebecca [mailto:

RE: [NAnt-users] Automatically updating build number on nightly b uilds

2005-12-15 Thread Evans, Jonathan (2)
Here's a sample from my build files:

RE: [NAnt-users] Automatically updating build number on nightly builds

2005-12-15 Thread Kedziora, Rebecca
Hello, We keep our version number in a file. I use the common.build for all projects which they include. You can review to see how we do our build numbers. -Rebecca -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Mayert Sent: Thursday, December 15

[NAnt-users] Automatically updating build number on nightly builds

2005-12-15 Thread Tim Mayert
We are just looking at implementing our major builds in NAnt for nightly builds and would like to know if there are simple function(s) that will automatically update our build number for each build. At the moment we have the build number set in our project ProjectProperties.xml file, shown below,