Package com.gitblit

Examples of com.gitblit.WebXmlSettings


    if (goSettings != null) {
      // Gitblit GO
      baseFolder = configureGO(context, goSettings, goBaseFolder, runtimeSettings);
    } else {
      // servlet container
      WebXmlSettings webxmlSettings = new WebXmlSettings(context);
      String contextRealPath = context.getRealPath("/");
      File contextFolder = (contextRealPath != null) ? new File(contextRealPath) : null;

      // if the base folder dosen't match the default assume they don't want to use express,
      // this allows for other containers to customise the basefolder per context.
View Full Code Here


    if (goSettings != null) {
      // Gitblit GO
      baseFolder = configureGO(context, goSettings, goBaseFolder, runtimeSettings);
    } else {
      // servlet container
      WebXmlSettings webxmlSettings = new WebXmlSettings(context);
      String contextRealPath = context.getRealPath("/");
      File contextFolder = (contextRealPath != null) ? new File(contextRealPath) : null;

      // if the base folder dosen't match the default assume they don't want to use express,
      // this allows for other containers to customise the basefolder per context.
View Full Code Here

TOP

Related Classes of com.gitblit.WebXmlSettings

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.