FwkRuntime.getInstance().regApplication(tmpApp);
app = tmpApp;
}
// Do default resources publish if any.
app.pubStaticResources();
// Do our internal static resource publish.
File webContentRoot = app.findWebContentRoot(false);
if (webContentRoot != null && webContentRoot.isDirectory()
&& webContentRoot.exists()) {