Project

General

Profile

« Previous | Next » 

Revision 2061

Changes to Harvester properties

View differences:

Harvester.java
96 96
  /** Highest DETAIL_LOG_ID primary key in the HARVEST_DETAIL_LOG table */
97 97
  private int detailLogID;
98 98
  
99
  /** Email address of the Harvester Administrator */
100
  private String harvesterAdministrator;
101
  
99 102
  /** Highest HARVEST_LOG_ID primary key in the HARVEST_LOG table */
100 103
  private int harvestLogID;
101 104
  
......
349 352
   * Loads Harvester properties from a configuration file.
350 353
   */
351 354
  private void loadProperties() {
352
    String homedir = System.getProperty("user.home");
353
    File configfile = new File(homedir, "harvester.properties");
355
    File configfile = new File("../../lib/harvester", "harvester.properties");
354 356
    
355 357
    properties = new Properties();
356 358

  
......
589 591
    ctm = Boolean.valueOf(properties.getProperty("connectToMetacat", "true"));
590 592
    connectToMetacat = ctm.booleanValue();
591 593
    dbDriver = properties.getProperty("dbDriver");
594
    harvesterAdministrator = properties.getProperty("harvesterAdministrator");
592 595
    try {
593 596
      lp = Integer.valueOf(properties.getProperty("logPeriod", "90"));
594 597
      logPeriod = lp.intValue();

Also available in: Unified diff