Project

General

Profile

« Previous | Next » 

Revision 9900

Added by Jing Tao over 7 years ago

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.

View differences:

PropertiesAdmin.java
140 140
						externalDir + FileUtil.getFS() + "solr-home");
141 141

  
142 142
				PropertyService.persistProperties();
143
				PropertyService.syncToSettings();
143 144

  
144 145
				// Add the list of properties from metacat.properties to the request
145 146
				Vector<String> propertyNames = PropertyService.getPropertyNames();

Also available in: Unified diff