From bb6688e5b88a7982a7dfcaa89d1750811361c389 Mon Sep 17 00:00:00 2001
From: felmer <felmer>
Date: Mon, 16 Nov 2009 14:33:04 +0000
Subject: [PATCH] add BuildAndEnvironmentInfo class in order to avoid shadowing
 by using application specific BUILD.INFO files

SVN: 13425
---
 .../openbis/dss/BuildAndEnvironmentInfo.java  | 46 +++++++++++++++++++
 1 file changed, 46 insertions(+)
 create mode 100644 deep_sequencing_unit/source/java/ch/systemsx/cisd/openbis/dss/BuildAndEnvironmentInfo.java

diff --git a/deep_sequencing_unit/source/java/ch/systemsx/cisd/openbis/dss/BuildAndEnvironmentInfo.java b/deep_sequencing_unit/source/java/ch/systemsx/cisd/openbis/dss/BuildAndEnvironmentInfo.java
new file mode 100644
index 00000000000..cc9e8a36d49
--- /dev/null
+++ b/deep_sequencing_unit/source/java/ch/systemsx/cisd/openbis/dss/BuildAndEnvironmentInfo.java
@@ -0,0 +1,46 @@
+/*
+ * Copyright 2009 ETH Zuerich, CISD
+ *
+ * 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 ch.systemsx.cisd.openbis.dss;
+
+import ch.systemsx.cisd.base.utilities.AbstractBuildAndEnvironmentInfo;
+
+
+/**
+ * The build and environment information for DSU.
+ *
+ * @author Franz-Josef Elmer
+ */
+public class BuildAndEnvironmentInfo extends AbstractBuildAndEnvironmentInfo
+{
+    private final static String BASE = "deep_sequencing_unit";
+    
+    public final static BuildAndEnvironmentInfo INSTANCE = new BuildAndEnvironmentInfo();
+    
+    private BuildAndEnvironmentInfo()
+    {
+        super(BASE);
+    }
+
+    /**
+     * Shows build and environment information on the console.
+     */
+    public static void main(String[] args)
+    {
+        System.out.println(INSTANCE);
+    }
+
+}
-- 
GitLab