public static Map<String, String> configureAppServerProperties(ILiferayRuntime appServer) { Map<String, String> properties = new HashMap<String, String>(); String type = appServer.getAppServerType(); String dir = appServer.getAppServerDir().toOSString(); String deployDir = appServer.getDeployDir().toOSString(); String libGlobalDir = appServer.getLibGlobalDir().toOSString(); String portalDir = appServer.getPortalDir().toOSString(); properties.put(ISDKConstants.PROPERTY_APP_SERVER_TYPE, type); properties.put(ISDKConstants.PROPERTY_APP_SERVER_DIR, dir); properties.put(ISDKConstants.PROPERTY_APP_SERVER_DEPLOY_DIR, deployDir); properties.put(ISDKConstants.PROPERTY_APP_SERVER_LIB_GLOBAL_DIR, libGlobalDir); properties.put(ISDKConstants.PROPERTY_APP_SERVER_PORTAL_DIR, portalDir); return properties; }