configuration.setAttribute( ICougaarLaunchConfigurationConstants.ATTR_COUGAAR_VM_PARAMETERS, map); }
    public void setDefaults(ILaunchConfigurationWorkingCopy configuration) {        HashMap map = new HashMap();        Enumeration keys = CougaarXMLParameters.getKeys();        IJavaProject project = getJavaProject(configuration);        if (project != null) {            String defaultVersion = CougaarPlugin.getCougaarPreference(project                    .getProject(), ICougaarConstants.COUGAAR_VERSION);            String cip = CougaarPlugin.getCougaarBaseLocation(defaultVersion);            while (keys.hasMoreElements()) {                String[] pair = new String[2];                pair[0] = (String) keys.nextElement();                if ((cip != null) && !cip.equals("")) {                                       pair[1] = replaceCIP(cip, CougaarXMLParameters                            .getString(pair[0]));                }                map.put(pair[0], pair[1]);            }        }        configuration                .setAttribute(                        ICougaarLaunchConfigurationConstants.ATTR_COUGAAR_VM_PARAMETERS,                        map);    }