Version classes for output current version
authorlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Wed, 16 May 2007 11:35:25 +0000 (11:35 +0000)
committerlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Wed, 16 May 2007 11:35:25 +0000 (11:35 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@2194 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/idp/Version.java [new file with mode: 0644]

diff --git a/src/edu/internet2/middleware/shibboleth/idp/Version.java b/src/edu/internet2/middleware/shibboleth/idp/Version.java
new file mode 100644 (file)
index 0000000..8af9c78
--- /dev/null
@@ -0,0 +1,40 @@
+/*
+ * Copyright [2007] [University Corporation for Advanced Internet Development, Inc.]
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package edu.internet2.middleware.shibboleth.idp;
+
+/**
+ * Application that outputs the current IdP version.
+ */
+public final class Version {
+
+    /** Current IdP version. */
+    public static final String VERSION = "$IDP_VERSION$";
+
+    /** Constructor. */
+    private Version() {
+
+    }
+
+    /**
+     * Application entry point.
+     * 
+     * @param args command line arguments
+     */
+    public static void main(String[] args) {
+        System.out.println("Shibboleth Identity Provider Version: " + VERSION);
+    }
+}
\ No newline at end of file