|
|
@ -50,7 +50,7 @@ public class StartServer { |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public static void browserDemoURL() { |
|
|
|
public static void browserDemoURL() { |
|
|
|
if (FRContext.getCurrentEnv() instanceof RemoteEnv) { |
|
|
|
if (FRContext.getCurrentEnv() instanceof RemoteEnv) { |
|
|
|
browser(FRContext.getCurrentEnv().getPath() + "?op=fs"); |
|
|
|
browser(FRContext.getCurrentEnv().getPath()); |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
if (ComparatorUtils.equals(StableUtils.getInstallHome(), ".")) {//august:供代码使用
|
|
|
|
if (ComparatorUtils.equals(StableUtils.getInstallHome(), ".")) {//august:供代码使用
|
|
|
@ -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() + "/" + GeneralContext.getCurrentAppNameOfEnv() + "/" + ServerConfig.getInstance().getServletName()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|