[kepler-dev] [Bug 5119] Make switching to a specific set of modules turn off automatic update feature

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Wed Aug 11 17:17:12 PDT 2010


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5119

David Welker <david.v.welker at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|david.v.welker at gmail.com    |barseghian at nceas.ucsb.edu

--- Comment #2 from David Welker <david.v.welker at gmail.com> 2010-08-11 17:17:11 PDT ---
The functionality for this is ready to go. Derik just needs to make an
appropriate call at the appropriate time.

The following code should do the trick in the appropriate place:

ConfigurationProperty common = ConfigurationManager.getInstance().
    getProperty(ConfigurationManager.getModule("common"));
ConfigurationProperty checkForPatches =
common.getProperty("check-for-patches");


try
{
    checkForPatches.setValue("false");
    ConfigurationManager.getInstance().saveConfiguration();
}
catch (ConfigurationManagerException e)
{
          e.printStackTrace();  
}

-- 
Configure bugmail: http://bugzilla.ecoinformatics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Kepler-dev mailing list