From a5a372a17dfbea0e0551a992e11c4fec4b7bb9d0 Mon Sep 17 00:00:00 2001
From: lutoff <lutoff@localhost>
Date: Wed, 16 May 2007 07:40:12 +0000
Subject: [PATCH] Add a "PRINTABLE_VERSION_STRING" string in DynamicContants class. This will prevent to compute in several places the printable string to be displayed (--version)

---
 opends/resource/DynamicConstants.java.stubs |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/opends/resource/DynamicConstants.java.stubs b/opends/resource/DynamicConstants.java.stubs
index 9ae679f..c792a0f 100644
--- a/opends/resource/DynamicConstants.java.stubs
+++ b/opends/resource/DynamicConstants.java.stubs
@@ -148,4 +148,10 @@
        (((FIX_IDS != null) && (FIX_IDS.length() > 0))
         ? "+" + FIX_IDS
         : "");
+
+  /**
+   * A printable version string for this product.
+   */
+  public static final String PRINTABLE_VERSION_STRING =
+       FULL_VERSION_STRING + "\nBuild " + BUILD_ID +"\n";
 }

--
Gitblit v1.10.0