workingCopy.setAttribute(IExternalToolConstants.ATTR_TOOL_ARGUMENTS, "quiet");
String quiet = "-quiet " + workingCopy.getAttribute( IExternalToolConstants.ATTR_TOOL_ARGUMENTS, ""); workingCopy.setAttribute( IExternalToolConstants.ATTR_TOOL_ARGUMENTS, quiet);
	private static ILaunchConfiguration createDefaultLaunchConfiguration(		IFile file,		String target)		throws CoreException {		ILaunchConfigurationWorkingCopy workingCopy =			RunAnt.getCachedILaunchConfigurationWorkingCopy(file, target);		if (workingCopy == null) {			ILaunchManager manager =				DebugPlugin.getDefault().getLaunchManager();			ILaunchConfigurationType type =				manager.getLaunchConfigurationType(					IExternalToolConstants.ID_ANT_LAUNCH_CONFIGURATION_TYPE);			IPath path = file.getFullPath();			if (path.segmentCount() > 2) {				path = path.removeFirstSegments(path.segmentCount() - 2);			}			StringBuffer buffer = new StringBuffer();			String[] segments = path.segments();			for (int i = 0; i < segments.length; i++) {				String string = segments[i];				buffer.append(string);				buffer.append(" "); //$NON-NLS-1$			}			String name = buffer.toString().trim();			name = manager.generateUniqueLaunchConfigurationNameFrom(name);			workingCopy = type.newInstance(null, name);			// set default for common settings			CommonTab tab = new CommonTab();			tab.setDefaults(workingCopy);			tab.dispose();			StringBuffer buf = new StringBuffer();			ToolUtil.buildVariableTag(				IExternalToolConstants.VAR_WORKSPACE_LOC,				file.getFullPath().toString(),				buf);			workingCopy.setAttribute(				IExternalToolConstants.ATTR_LOCATION,				buf.toString());			workingCopy.setAttribute(				IExternalToolConstants.ATTR_RUN_IN_BACKGROUND,				true);			if (target != null) {				workingCopy.setAttribute(					IExternalToolConstants.ATTR_ANT_TARGETS,					target);			}			setCachedILaunchConfigurationWorkingCopy(file, target, workingCopy);		}		if (Preferences			.getBoolean(IWOLipsPluginConstants.PREF_SHOW_BUILD_OUTPUT)) {			workingCopy.setAttribute(				IExternalToolConstants.ATTR_CAPTURE_OUTPUT,				true);			workingCopy.setAttribute(				IExternalToolConstants.ATTR_SHOW_CONSOLE,				true);		} else {			workingCopy.setAttribute(				IExternalToolConstants.ATTR_SHOW_CONSOLE,				(String) null);			workingCopy.setAttribute(				IExternalToolConstants.ATTR_CAPTURE_OUTPUT,				(String) null);			workingCopy.setAttribute(IExternalToolConstants.ATTR_TOOL_ARGUMENTS, "quiet");		}		return workingCopy;	}