Skip to content

Commit 96950f7

Browse files
author
Matthias Radestock
committed
merge bug19127 into default
2 parents 8c7c825 + 5d15f90 commit 96950f7

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

docs/wikipages/data.BuildingTheClient.txt

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -128,23 +128,20 @@ Other build products:
128128

129129
** Assembly Versioning
130130

131-
As part of the build process, the source file [code AssemblyInfo.cs.in] is copied to [code AssemblyInfo.cs], and the tokens [code @VERSION@], [code @BUILD@] and [code @REVISION@] are replaced with values computed by the [code default.build] NAnt script.
131+
As part of the build process, the source file [code AssemblyInfo.cs.in] is copied to
132+
[code AssemblyInfo.cs], and the token [code @VERSION@] is replaced with value specified by
133+
the property [code version.major.minor.release] in the [code local.build] NAnt script.
132134

133-
The assembly version number is built from the template
135+
The assembly version number is of the form
134136

135137
@code java
136-
"@VERSION@.@BUILD@.@REVISION@"
137-
138-
which will produce version numbers of the form
139-
140-
@code java
141-
"1.2.7269.1741"
138+
"1.2.0"
142139

143140
or more generally
144141

145142
@code java
146-
"X.Y.ZZZZ.WWWW"
143+
"Major.Minor.Release"
147144

148-
where X.Y is the client major.minor version number, ZZZZ is the year and day-of-year (in the example "7" for 2007 and "269" meaning the 26th of September), and WWWW is the build time (in the example "1741" for 5:41pm, but in general could be anything from "0" through "159" through "2359" or even "2400", depending on leap seconds).
145+
that represents major, minor and release client version numbers, respectively.
149146

150147
To force an update to the version number, the [code nant stamp] target deletes [code AssemblyInfo.cs], forcing its regeneration in subsequent builds.

0 commit comments

Comments
 (0)