01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: *
17: */
18:
19: /*
20: * Created on 02-Oct-2003
21: *
22: * This class defines the JMeter version only (moved from JMeterUtils)
23: *
24: * Version changes no longer change the JMeterUtils source file
25: * - easier to spot when JMeterUtils really changes
26: * - much smaller to download when the version changes
27: *
28: */
29: package org.apache.jmeter.util;
30:
31: /**
32: * Utility class to define the JMeter Version string
33: *
34: */
35: public class JMeterVersion {
36:
37: /*
38: * The VERSION string is updated by the Ant build file, which looks for the
39: * pattern: VERSION = <quote>.*<quote>
40: *
41: * The string is made private so the compiler can't propagate it into
42: * JMeterUtils. (Java compilers may make copies of final variables)
43: *
44: * This ensures that JMeterUtils always gets the correct
45: * version, even if JMeterUtils is not re-compiled during the build.
46: */
47: private static final String VERSION = "2.3.1";
48:
49: static final String COPYRIGHT = "Copyright (c) 1998-2007 The Apache Software Foundation";
50:
51: private JMeterVersion() // Not instantiable
52: {
53: super ();
54: }
55:
56: static final String getVERSION() {
57: return VERSION;
58: }
59: }
|