001    /*
002     * CDDL HEADER START
003     *
004     * The contents of this file are subject to the terms of the
005     * Common Development and Distribution License, Version 1.0 only
006     * (the "License").  You may not use this file except in compliance
007     * with the License.
008     *
009     * You can obtain a copy of the license at
010     * trunk/opends/resource/legal-notices/OpenDS.LICENSE
011     * or https://OpenDS.dev.java.net/OpenDS.LICENSE.
012     * See the License for the specific language governing permissions
013     * and limitations under the License.
014     *
015     * When distributing Covered Code, include this CDDL HEADER in each
016     * file and include the License file at
017     * trunk/opends/resource/legal-notices/OpenDS.LICENSE.  If applicable,
018     * add the following below this CDDL HEADER, with the fields enclosed
019     * by brackets "[]" replaced with your own identifying information:
020     *      Portions Copyright [yyyy] [name of copyright owner]
021     *
022     * CDDL HEADER END
023     *
024     *
025     *      Copyright 2006-2008 Sun Microsystems, Inc.
026     */
027    package org.opends.server.util;
028    
029    /**
030     * This file contains a number of constants that are used throughout the
031     * Directory Server source.  It was dynamically generated as part of the
032     * Directory Server build process and should not be edited directly.
033     */
034    @org.opends.server.types.PublicAPI(
035         stability=org.opends.server.types.StabilityLevel.UNCOMMITTED,
036         mayInstantiate=false,
037         mayExtend=false,
038         mayInvoke=true)
039    public final class DynamicConstants
040    {
041      /**
042       * The official full product name for the Directory Server.
043       */
044      public static final String PRODUCT_NAME = "OpenDS Directory Server";
045    
046      /**
047       * The short product name for the Directory Server.
048       */
049      public static final String SHORT_NAME = "OpenDS";
050    
051      /**
052       * The major version number for the Directory Server.
053       */
054      public static final int MAJOR_VERSION = 1;
055    
056      /**
057       * The minor version number for the Directory Server.
058       */
059      public static final int MINOR_VERSION = 0;
060    
061      /**
062       * The point version number for the Directory Server.
063       */
064      public static final int POINT_VERSION = 0;
065    
066      /**
067       * The official build number for the Directory Server.
068       */
069      public static final int BUILD_NUMBER = -1;
070    
071      /**
072       * The version qualifier string for the Directory Server.
073       */
074      public static final String VERSION_QUALIFIER = "";
075    
076      /**
077       * The set of bug IDs for fixes included in this build of the Directory
078       * Server.
079       */
080      public static final String FIX_IDS = "";
081    
082      /**
083       * The build ID for the generated build of the Directory Server.
084       */
085      public static final String BUILD_ID = "20110310164117Z";
086    
087      /**
088       * The username of the user that created this build.
089       */
090      public static final String BUILD_USER = "builder";
091    
092      /**
093       * The Java version used to generate this build.
094       */
095      public static final String BUILD_JAVA_VERSION = "1.6.0_24";
096    
097      /**
098       * The vendor for the Java version used to generate this build.
099       */
100      public static final String BUILD_JAVA_VENDOR = "Sun Microsystems Inc.";
101    
102      /**
103       * The JVM version used to generate this build.
104       */
105      public static final String BUILD_JVM_VERSION = "19.1-b02";
106    
107      /**
108       * The vendor for the JVM used to generate this build.
109       */
110      public static final String BUILD_JVM_VENDOR = "Sun Microsystems Inc.";
111    
112      /**
113       * The operating system on which this build was generated.
114       */
115      public static final String BUILD_OS = "Linux 2.6.18-ovz-rhel-alt13.M51.18 i386";
116    
117      /**
118       * Indicates whether this is a debug build of the Directory Server that may
119       * include additional debugging facilities not available in standard release
120       * versions.
121       */
122      public static final boolean DEBUG_BUILD = false;
123    
124      /**
125       * The Subversion revision number on which this build is based.
126       */
127      public static final long REVISION_NUMBER = 6029;
128    
129      /**
130       * Indicates wheater this build includes AspectJ weaving for the debug logging
131       * framework.
132       */
133      public static final boolean WEAVE_ENABLED = false;
134    
135      /**
136       * A string representation of the version number.
137       */
138      public static final String VERSION_NUMBER_STRING =
139           "1.0.0";
140    
141      /**
142       * A compact version string for this product, suitable for use in path
143       * names and similar cases.
144       */
145      public static final String COMPACT_VERSION_STRING =
146           SHORT_NAME + "-" + VERSION_NUMBER_STRING;
147    
148      /**
149       * A full version string for this product.
150       */
151      public static final String FULL_VERSION_STRING =
152           PRODUCT_NAME + " " + VERSION_NUMBER_STRING +
153           (((FIX_IDS != null) && (FIX_IDS.length() > 0))
154            ? "+" + FIX_IDS
155            : "");
156    
157      /**
158       * A printable version string for this product.
159       */
160      public static final String PRINTABLE_VERSION_STRING =
161           FULL_VERSION_STRING + System.getProperty("line.separator") +
162           "Build " + BUILD_ID + System.getProperty("line.separator");
163    }