[Cvsnt] CVSNT version 0.0.0.0????

Jerzy Kaczorowski jerzyk at wndtabs.com
Sat Mar 30 21:04:35 GMT 2002


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Bo - nice invstigation ;)

But let's not forget about cvs95.exe ;)

For that you have to define the CVS95_FILEVERSION - which is surprisingly
already in place in cvs95.rc2 ...
#define CVS95_FILEVERSION CVSNT_FILEVERSION

That is of course if you don't want to fine-tune the file versions. If you
do, then you would need to define all the needed FILE defines just like
there are PRODUCT defines now (eg.
CVSNT_FILE_MAJOR,CVSNT_FILE_MINOR,CVSNT_FILE_PATCHLEVEL,CVSNT_FILE_RELEASE)

And then use that for defining CVSNT_FILEVERSION and CVS95_FILEVERSION.

Eventually it may not make sense to maitain separate defines for cvs95.exe
and cvs.exe, and so change the cvs95.rc2 to use CVSNT_FILEVERSION as well.

While at it - the protocol dlls don't seem to have version information at
all.... ;)

Best Regards,
Jerzy

Patch (I am not sure if it will break long lines...):
Index: cvsntcpl.rc2
===================================================================
RCS file: /usr/local/cvs/cvsnt/cvsntcpl/res/cvsntcpl.rc2,v
retrieving revision 1.1
diff -r1.1 cvsntcpl.rc2
20a21
>  FILEVERSION CVSNT_FILEVERSION
Index: cvsservice.rc2
===================================================================
RCS file: /usr/local/cvs/cvsnt/cvsservice/res/cvsservice.rc2,v
retrieving revision 1.1
diff -r1.1 cvsservice.rc2
20a21
>  FILEVERSION CVSNT_FILEVERSION
Index: version_fu.h
===================================================================
RCS file: /usr/local/cvs/cvsnt/windows-NT/version_fu.h,v
retrieving revision 1.4
diff -r1.4 version_fu.h
199a200,201
> #define CVSNT_FILEVERSION
CVSNT_PRODUCT_MAJOR,CVSNT_PRODUCT_MINOR,CVSNT_PRODUCT_PATCHLEVEL,CVSNT_PRODU
CT_RELEASE
> #define CVS95_FILEVERSION CVSNT_FILEVERSION
Index: cvsnt.rc2
===================================================================
RCS file: /usr/local/cvs/cvsnt/windows-NT/res/cvsnt.rc2,v
retrieving revision 1.2
diff -r1.2 cvsnt.rc2
20a21
>  FILEVERSION CVSNT_FILEVERSION


----- Original Message -----
From: "Bo Berglund" <bo.berglund at telia.com>
To: <cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook>
Sent: Saturday, March 30, 2002 10:40 PM
Subject: Re: [Cvsnt] CVSNT version 0.0.0.0????


> On Sat, 30 Mar 2002 10:43:40 +0000 (UTC), Tony Hoyle
> <tmh at nothing-on.tv> wrote:
>
> >Bo Berglund wrote:
> >
> >> And the build really does not need any letters, why not simply
> >> increment the number (to 58 in this case) each time a build is done?
> >>
> >58 was a development build.  I forgot to leave a gap, so we're stuck with
> >letters for the release builds.
> >
> >Tony
> >
> Now I have actually located the problem with the lacking file version
> info in cvs.exe (and in the cvsservice.exe and cvsnt.cpl as well):
> The following needs to be done:
>
> In version_fu.h the following line is added at the end (in one line,
> newsreader wraps into two lines):
> #define CVSNT_FILEVERSION
>
CVSNT_PRODUCT_MAJOR,CVSNT_PRODUCT_MINOR,CVSNT_PRODUCT_PATCHLEVEL,CVSNT_PRODU
CT_RELEASE
>
> In cvsnt.rc2, cvsservice.rc2, cvsntcpl.rc2 add this line immediately
> after the VS_VERSION_INFO VERSIONINFO line:
>  FILEVERSION CVSNT_FILEVERSION
>
> Now build and you will notice how the file version number comes up in
> the Version properties pane of the files:
> 1.11.1.3
>
> To see the build number one has to go to the File Version in the
> strings section and it looks like before:
> Cvs NT 1.11.1.3  (Build 57b)
>
> I suggest this is included in the source tree. Unfortunately I don't
> know how to make "patch" files so I can't send that, but the above
> edits are not so difficult really.
>
>
> /Bo
> (Bo Berglund, developer in Sweden)
> _______________________________________________
> Cvsnt mailing list
> Cvsnt at cvsnt.org
> http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs
>

_______________________________________________
Cvsnt mailing list
Cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook