Project

General

Profile

« Previous | Next » 

Revision 4999

Implement fix for Bug #4245: Harvester command line scripts don't execute.

View differences:

HarvestDocumentTest.java
77 77
   * objects.
78 78
   */
79 79
  protected void setUp() {
80
    boolean commandLineMode = true;
80 81
    String contactEmail = "jdoe@institution.edu";
81 82
    String dateLastHarvest = "2004-04-01 00:00:00.0";
82 83
    String dateNextHarvest = "2004-05-01 00:00:00.0";
......
103 104
    int updateFrequency = 1;
104 105

  
105 106
    harvester = new Harvester();
106
    Harvester.loadProperties(test);
107
    Harvester.loadProperties(commandLineMode, test);
107 108
    harvester.getConnection();  // initializes the database connection
108 109
    harvester.initLogIDs();
109 110
    harvester.setHarvestStartTime(new Date());

Also available in: Unified diff