|
|
@ -55,7 +55,7 @@ public class StartServer { |
|
|
|
} |
|
|
|
} |
|
|
|
if (ComparatorUtils.equals(StableUtils.getInstallHome(), ".")) {//august:供代码使用
|
|
|
|
if (ComparatorUtils.equals(StableUtils.getInstallHome(), ".")) {//august:供代码使用
|
|
|
|
String web = GeneralContext.getCurrentAppNameOfEnv(); |
|
|
|
String web = GeneralContext.getCurrentAppNameOfEnv(); |
|
|
|
browserURLWithLocalEnv("http://localhost:" + DesignerEnvManager.getEnvManager().getJettyServerPort() + "/" + web + "/" + ServerConfig.getInstance().getServletName()); |
|
|
|
browserURLWithLocalEnv("http://localhost:" + DesignerEnvManager.getEnvManager().getJettyServerPort() + "/" + web + "/" + ServerConfig.getInstance().getDecisionServletName()); |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
DesignerEnvManager envManager = DesignerEnvManager.getEnvManager(); |
|
|
|
DesignerEnvManager envManager = DesignerEnvManager.getEnvManager(); |
|
|
@ -102,7 +102,7 @@ public class StartServer { |
|
|
|
} finally { |
|
|
|
} finally { |
|
|
|
//先访问Demo, 后访问报表, 不需要重置服务器.
|
|
|
|
//先访问Demo, 后访问报表, 不需要重置服务器.
|
|
|
|
NEED_LOAD_ENV = false; |
|
|
|
NEED_LOAD_ENV = false; |
|
|
|
browser("http://localhost:" + DesignerEnvManager.getEnvManager().getJettyServerPort() + "/" + ProjectConstants.WEBAPP_NAME + "/" + ServerConfig.getInstance().getServletName()); |
|
|
|
browser("http://localhost:" + DesignerEnvManager.getEnvManager().getJettyServerPort() + "/" + ProjectConstants.WEBAPP_NAME + "/" + ServerConfig.getInstance().getDecisionServletName()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|