Revision 9900
Added by Jing Tao over 7 years ago
GeoserverAdmin.java | ||
---|---|---|
201 | 201 |
PropertyService.setPropertyNoPersist("geoserver.context", context); |
202 | 202 |
boolean reconfig = PropertyService.checkAndSetProperty(request, "geoserver.GEOSERVER_DATA_DIR"); |
203 | 203 |
PropertyService.persistProperties(); |
204 |
PropertyService.syncToSettings(); |
|
204 | 205 |
// put the web.xml in place |
205 | 206 |
reconfig = true; //force all the time in cases where geoserver has been redeployed |
206 | 207 |
if (reconfig) { |
Also available in: Unified diff
Every time when we modified the metacat.properties file through the PropertyService, the Setting class will be updated as well. Otherwise, the values on the Setting class are still the old one.