01: /* ====================================================================
02: * Copyright (c) 1998 - 2003 David F. Glasser. All rights
03: * reserved.
04: *
05: * This file is part of the QueryForm Database Tool.
06: *
07: * The QueryForm Database Tool is free software; you can redistribute it
08: * and/or modify it under the terms of the GNU General Public License as
09: * published by the Free Software Foundation; either version 2 of the
10: * License, or (at your option) any later version.
11: *
12: * The QueryForm Database Tool is distributed in the hope that it will
13: * be useful, but WITHOUT ANY WARRANTY; without even the implied
14: * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15: * See the GNU General Public License for more details.
16: *
17: * You should have received a copy of the GNU General Public License
18: * along with the QueryForm Database Tool; if not, write to:
19: *
20: * The Free Software Foundation, Inc.,
21: * 59 Temple Place, Suite 330
22: * Boston, MA 02111-1307 USA
23: *
24: * or visit http://www.gnu.org.
25: *
26: * ====================================================================
27: *
28: * This product includes software developed by the
29: * Apache Software Foundation (http://www.apache.org/).
30: *
31: * ====================================================================
32: *
33: * $Source: /cvsroot/qform/qform/src/org/glasser/qform/VersionNumber.java,v $
34: * $Revision: 1.6 $
35: * $Author: dglasser $
36: * $Date: 2005/06/06 03:26:02 $
37: *
38: * --------------------------------------------------------------------
39: */
40: package org.glasser.qform;
41:
42: /**
43: * This class stores the version number for the current release of QueryForm.
44: */
45: public class VersionNumber implements java.io.Serializable {
46:
47: public final static String VERSION_NUMBER;
48:
49: static {
50: // initializing VERSION_NUMBER here insures that the class will always be
51: // loaded and VERSION_NUMBER will be dynamically, rather than statically
52: // linked. (Hopefully.)
53: VERSION_NUMBER = "1.4";
54: System.setProperty("qform.version", VERSION_NUMBER);
55: }
56: }
|