Environment e = this.env;
File configFile = new File(configPath);
if (!configFile.exists()) configFile.createNewFile();
Ini ini = new Ini();
ini.load(new FileReader(configFile));
Ini.Section settingsSection = ini.get(Environment.SETTINGS);
if (settingsSection == null) settingsSection = ini.add(Environment.SETTINGS);
settingsSection.put(Environment.WEBROOT_PATH, e.getWebrootPath());
settingsSection.put(Environment.SENCHA_CMD_PATH, e.getCmdPath());