Change location of PropertyService to properties directory
Create database and shared directories for database management code and shared code respectively.
Implement fix for Bug #4245: Harvester command line scripts don't execute.
Remove the configuration directory from the PropertyService constructor
Qualify harvester properties
Replace Options class with PropertyService
Merge 1.9 changes into Head
Two changes to Metacat Harvester implementation:
(1) Removed call to deprecated Thread.stop() method. Added boolean class variable, Harvester.keepRunning. When the thread is destroyed, set Harvester.keepRunning to false.
(2) Access the harvestList.xsd schema file by finding it locally in the web application rather than via a URL to cvs.ecoinformatics.org.
Remove CR characters from end of line. Formatting changes only, no functional changes.
Fixed bug in command-line mode which caused array index out of bounds exception.
Changed default maxHarvests value to 0. Added logic to ignore maxHarvests value when it is set to 0 or a negative number. This allows Harvester to run indefinitely without shutting down after reaching a maximum number of harvests. The previous default value of 30 would cause Harvester to terminate after 30 harvests.
Implement a new HarvesterServlet for running Harvester as a servlet. This eliminates the need to run Harvester in a terminal window. By default, the HarvesterServlet is commented out in lib/web.xml.tomcat(3,4,5). The user documentation will be modified to instruct Harvester administrators to uncomment the HarvesterServlet entry.
Re-implement logic to prune old log entries from the HARVEST_LOG and HARVEST_DETAIL_LOG tables. The old logic caused integrity constraint violations in the database because it tried to delete parent records from HARVEST_LOG prior to deleting child records from HARVEST_DETAIL_LOG....
Remove DOS end-of-line carriage returns.Other minor formatting improvements to the code.
Minor enhancement to support multiple email addresses for harvester administrator and site contact. Each address is separated by a comma or semicolon.
Compose the Metacat URL from the httpserver and the servletpath properties, replacing hard-coded references to servlet.
Add diagnostic output
Integrate Harvester properties with build.properties and metacat.properties.Eliminate the need for a separate harvester.properties file.Improve email message to the site to include more summary information.
Refactored a number of methods to allow for more effective JUnit testing
Replace Harvester dbDriver property with database property
Rename url property to defaultDB
Omit HARVEST_OPERATION_TABLE and store harvest operations in properties file instead
Implement sending email reports to harvest administrator and site administrator
Added GPL license text to harvester source files.
Implement harvester scheduing capabilities and sending email reports to the Harvester Administrator
Additional scheduling logic
Changes to Harvester properties
Additional Harvester development
Additional development of Harvester implementation
Harvester source files