public void run () { try { recoverDefaultPlatform (); EditableProperties ep = PropertyUtils.getGlobalProperties(); boolean save = updateSourceLevel(ep); save |= updateBuildProperties (ep); if (save) { PropertyUtils.putGlobalProperties (ep); } } catch (IOException ioe) { Exceptions.printStackTrace(ioe); } } });
public void setPhpGlobalIncludePath(String phpGlobalIncludePath) { getPreferences().put(PHP_GLOBAL_INCLUDE_PATH, phpGlobalIncludePath); // update global ant properties as well (global include path can be used in project's include path) EditableProperties globalProperties = PropertyUtils.getGlobalProperties(); globalProperties.setProperty(PhpProjectProperties.GLOBAL_INCLUDE_PATH, phpGlobalIncludePath); try { PropertyUtils.putGlobalProperties(globalProperties); } catch (IOException ex) { Exceptions.printStackTrace(ex); } }
public void run () { try { EditableProperties props = PropertyUtils.getGlobalProperties(); boolean save = addLibraryIntoBuild(libraryImpl, props); if (save) { PropertyUtils.putGlobalProperties(props); } } catch (IOException ioe) { ErrorManager.getDefault().notify(ioe); } } }
public void run () { try { EditableProperties props = PropertyUtils.getGlobalProperties(); boolean save = addLibraryIntoBuild(libraryImpl,props); if (save) { PropertyUtils.putGlobalProperties (props); } } catch (IOException ioe) { ErrorManager.getDefault().notify (ioe); } } }
public void run () { try { EditableProperties props = PropertyUtils.getGlobalProperties(); boolean save = addLibraryIntoBuild(libraryImpl,props); if (save) { PropertyUtils.putGlobalProperties (props); } } catch (IOException ioe) { ErrorManager.getDefault().notify (ioe); } } }
public void run () { try { EditableProperties props = PropertyUtils.getGlobalProperties(); boolean save = addLibraryIntoBuild(libraryImpl,props); if (save) { PropertyUtils.putGlobalProperties (props); } } catch (IOException ioe) { ErrorManager.getDefault().notify (ioe); } } }
PropertyUtils.putGlobalProperties(globalProperties); } catch(IOException ex) { NotifyDescriptor desc = new NotifyDescriptor.Message(
PropertyUtils.putGlobalProperties(globalProperties); } catch(IOException ex) { NotifyDescriptor desc = new NotifyDescriptor.Message(
PropertyUtils.putGlobalProperties(globalProperties); } catch(java.io.IOException ex) { String mes = "Error saving global properties when adding wscompile.tools.classpath for service '"
PropertyUtils.putGlobalProperties(globalProperties); } catch(java.io.IOException ex) { String mes = "Error saving global properties when adding wscompile.tools.classpath for service '" + serviceName + "'\r\n" + ex.getMessage();
PropertyUtils.putGlobalProperties(globalProperties); } catch(IOException ex) { NotifyDescriptor desc = new NotifyDescriptor.Message(
public void run() { try { EditableProperties props = PropertyUtils.getGlobalProperties(); for (int i=0; i < VOLUME_TYPES.length; i++) { String property = LIB_PREFIX + libraryImpl.getName() + '.' + VOLUME_TYPES[i]; //NOI18N props.remove(property); } PropertyUtils.putGlobalProperties(props); } catch (IOException ioe) { ErrorManager.getDefault().notify (ioe); } } });
public void run() { try { EditableProperties props = PropertyUtils.getGlobalProperties(); for (int i=0; i < VOLUME_TYPES.length; i++) { String property = LIB_PREFIX + libraryImpl.getName() + '.' + VOLUME_TYPES[i]; //NOI18N props.remove(property); } PropertyUtils.putGlobalProperties(props); } catch (IOException ioe) { ErrorManager.getDefault().notify (ioe); } } });
public void run() { try { EditableProperties props = PropertyUtils.getGlobalProperties(); for (int i = 0; i < VOLUME_TYPES.length; i++) { String property = LIB_PREFIX + libraryImpl.getName() + '.' + VOLUME_TYPES[i]; //NOI18N props.remove(property); } PropertyUtils.putGlobalProperties(props); } catch (IOException ioe) { ErrorManager.getDefault().notify(ioe); } } });
public void run() { try { EditableProperties props = PropertyUtils.getGlobalProperties(); for (int i=0; i < VOLUME_TYPES.length; i++) { String property = LIB_PREFIX + libraryImpl.getName() + '.' + VOLUME_TYPES[i]; //NOI18N props.remove(property); } PropertyUtils.putGlobalProperties(props); } catch (IOException ioe) { ErrorManager.getDefault().notify (ioe); } } });
public void run() { EditableProperties ep = PropertyUtils.getGlobalProperties(); boolean change = false; List<Variable> old = readVariables(); for (Variable var : vars) { Variable oldVar = find(var.getName(), old); if (oldVar == null || !oldVar.getValue().equals(var.getValue())) { ep.put(VARIABLE_PREFIX+var.getName(), var.getValue().getAbsolutePath()); change = true; } if (oldVar != null) { old.remove(oldVar); } } for (Variable v : old) { ep.remove(VARIABLE_PREFIX+v.getName()); change = true; } if (change) { try { PropertyUtils.putGlobalProperties(ep); } catch (IOException ex) { Exceptions.printStackTrace(ex); } } } });