Skip to content
Snippets Groups Projects
Commit 86cbc91e authored by felmer's avatar felmer
Browse files

add BuildAndEnvironmentInfo class in order to avoid shadowing by using...

add BuildAndEnvironmentInfo class in order to avoid shadowing by using application specific BUILD.INFO files

SVN: 13408
parent f9f529f5
No related branches found
No related tags found
No related merge requests found
/*
* 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;
import ch.systemsx.cisd.base.utilities.AbstractBuildAndEnvironmentInfo;
/**
* The build and environment information for openBIS.
*
* @author Franz-Josef Elmer
*/
public class BuildAndEnvironmentInfo extends AbstractBuildAndEnvironmentInfo
{
private final static String BASE = "openbis";
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);
}
}
...@@ -25,11 +25,11 @@ import javax.servlet.http.HttpSession; ...@@ -25,11 +25,11 @@ import javax.servlet.http.HttpSession;
import org.apache.log4j.Logger; import org.apache.log4j.Logger;
import ch.systemsx.cisd.base.utilities.BuildAndEnvironmentInfo;
import ch.systemsx.cisd.common.exceptions.UserFailureException; import ch.systemsx.cisd.common.exceptions.UserFailureException;
import ch.systemsx.cisd.common.logging.LogCategory; import ch.systemsx.cisd.common.logging.LogCategory;
import ch.systemsx.cisd.common.logging.LogFactory; import ch.systemsx.cisd.common.logging.LogFactory;
import ch.systemsx.cisd.common.servlet.IRequestContextProvider; import ch.systemsx.cisd.common.servlet.IRequestContextProvider;
import ch.systemsx.cisd.openbis.BuildAndEnvironmentInfo;
import ch.systemsx.cisd.openbis.generic.client.web.client.IClientService; import ch.systemsx.cisd.openbis.generic.client.web.client.IClientService;
import ch.systemsx.cisd.openbis.generic.client.web.client.dto.ApplicationInfo; import ch.systemsx.cisd.openbis.generic.client.web.client.dto.ApplicationInfo;
import ch.systemsx.cisd.openbis.generic.client.web.client.dto.DefaultResultSetConfig; import ch.systemsx.cisd.openbis.generic.client.web.client.dto.DefaultResultSetConfig;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment