if (runtimePlugin != null) {
ApplicationDirectories appDirs = runtimePlugin.generateApplicationDirectories(appDir);
appDir = appDirs.getWarDir();
externalResourceDir = appDirs.getExternalResourceDir();
}
UpdateCheck updateCheck = new UpdateCheck(versionCheckServer, appDir, true);
if (updateCheck.allowedToCheckForUpdates() && !disableUpdateCheck) {
updateCheck.maybePrintNagScreen(System.err);
}
updateCheck.checkJavaVersion(System.err);
DevAppServer server = new DevAppServerFactory().createDevAppServer(appDir,
externalResourceDir, address, port, getNoJavaAgent());
Map<String, String> stringProperties = getSystemProperties();