views:

662

answers:

3

I'm setting up a new project using CruiseControl.net 1.4.

I see from ccnet contributions that there are two options for a subversion repository number labeller - a feature that I would really like to make use of.

1) SVNLabeller available from jcxsoftware

and

2) Svnrevisionlabeller available from google code

My problem is that (1) claims support for ccnet 1.4 but I can't find any documentation on how to configure it.

(2) comes with documentation but does not claim to support ccnet 1.4

Can anyone help me with either how to configure SVNLabeller or tell me if Svnrevisionlabeller works with 1.4?

+1  A: 

Have you looked at David Keaveny’s Blog Post regarding the SVNRevisionLabeller? The link will take you to a detailed post on it's usage.

We are currently testing this utility against the current release (1.4) of CCNet without any problems, i.e. it's producing the correct revision and build labels appended to the major/minor digits we specify.

Hope this helps

DilbertDave
+2  A: 

Hi morechilli, this is David Keaveny, author/maintainer of SvnRevisionLabeller. I use it against v1.4.2 on a daily basis at work, so I think it's safe to say that it works OK. I should probably update the Google Code site to reflect this.

Update: I've updated the project wiki to reflect this. Oh, and I'm also picking up on a bunch of feature requests, so keep an eye open for a new release in the near future.

David Keaveny
Thanks - much appreciated.
morechilli
Any chance of it working the CTP of 1.5? My brief trial suggests it doesn't yet? I'd offer to help out if I could get some pointers, cheers
David A Gibson
+1  A: 

I'm the author of SVNLabeler. You can get a 1.5 version here:

http://svn.jcxsoftware.com/node/216

Here is how you use it:

  <labeller type="SvnLabeller">
    <MajorVersion>1</MajorVersion>
    <MinorVersion>2</MinorVersion>
    <BuildNumber>3</BuildNumber>
    <workingDirectory>c:\path to your code</workingDirectory>
    <executable>c:\path to\svn.exe</executable>
  </labeller>

The version comes out as:

1.2.3.SVN_REVISION_NUMBER

Good luck,

Juan

VS.Php