From 86009cc055af74069148cbb8a8bed37e79e97e43 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Tue, 15 May 2007 19:59:55 +0000
Subject: [PATCH] Make a number of administrative types of updates:
---
opends/resource/DynamicConstants.java.stubs | 24 ++++++++++++++++--------
1 files changed, 16 insertions(+), 8 deletions(-)
diff --git a/opends/resource/DynamicConstants.java.stubs b/opends/resource/DynamicConstants.java.stubs
index c254d3d..9ae679f 100644
--- a/opends/resource/DynamicConstants.java.stubs
+++ b/opends/resource/DynamicConstants.java.stubs
@@ -59,6 +59,11 @@
public static final int POINT_VERSION = ${POINT_VERSION};
/**
+ * The official build number for the Directory Server.
+ */
+ public static final int BUILD_NUMBER = ${BUILD_NUMBER};
+
+ /**
* The version qualifier string for the Directory Server.
*/
public static final String VERSION_QUALIFIER = "${VERSION_QUALIFIER}";
@@ -123,21 +128,24 @@
public static final boolean WEAVE_ENABLED = ${WEAVE_ENABLED};
/**
+ * A string representation of the version number.
+ */
+ public static final String VERSION_NUMBER_STRING =
+ "${VERSION_NUMBER_STRING}";
+
+ /**
* A compact version string for this product, suitable for use in path
* names and similar cases.
*/
public static final String COMPACT_VERSION_STRING =
- SHORT_NAME + "-" + MAJOR_VERSION + "." + MINOR_VERSION +
- (((VERSION_QUALIFIER != null) && (VERSION_QUALIFIER.length() > 0))
- ? VERSION_QUALIFIER
- : "");
+ SHORT_NAME + "-" + VERSION_NUMBER_STRING;
/**
* A full version string for this product.
*/
public static final String FULL_VERSION_STRING =
- PRODUCT_NAME + " " + MAJOR_VERSION + "." + MINOR_VERSION +
- (((VERSION_QUALIFIER != null) && (VERSION_QUALIFIER.length() > 0))
- ? VERSION_QUALIFIER
- : "." + POINT_VERSION);
+ PRODUCT_NAME + " " + VERSION_NUMBER_STRING +
+ (((FIX_IDS != null) && (FIX_IDS.length() > 0))
+ ? "+" + FIX_IDS
+ : "");
}
--
Gitblit v1.10.0