Project

General

Profile

« Previous | Next » 

Revision 4208

Added by daigle over 16 years ago

Change sitemapInterval property to be sitemap.interval. Add testing property

View differences:

lib/metacat.properties
290 290
test.piscopassword=piscotest/>
291 291
## TODO MCD get an lter test account
292 292
test.lteruser=uid=jtao,o=LTER,dc=ecoinformatics,dc=org/>
293
test.lterpassword=yourpass/>
293
test.lterpassword=yourpass
294
test.testproperty=testing
294 295

  
295 296
######## Replication properties  #########################################
296 297
replication.logdir=
......
418 419
## sitemapDirectory=@install-dir@/sitemaps
419 420

  
420 421
# Interval (in milliseconds) between rebuilding the sitemap
421
sitemapInterval=86400000
422
sitemap.interval=86400000
422 423

  
423 424
######## Developers Section #########################################
424 425

  
425 426

  
src/edu/ucsb/nceas/metacat/MetaCatServlet.java
3692 3692
				directoryName = SystemUtil.getContextDir() + FileUtil.getFS() + "sitemaps";
3693 3693
				skin = PropertyService.getProperty("application.default-style");
3694 3694
				sitemapInterval = 
3695
					Integer.parseInt(PropertyService.getProperty("sitemapInterval"));
3695
					Integer.parseInt(PropertyService.getProperty("sitemap.interval"));
3696 3696
			} catch (PropertyNotFoundException pnfe) {
3697 3697
				logMetacat.error("Could not run site map generation because property " 
3698 3698
						+ "could not be found: " + pnfe.getMessage());

Also available in: Unified diff