Revision 4080
Added by daigle about 16 years ago
HarvestDocumentTest.java | ||
---|---|---|
27 | 27 |
|
28 | 28 |
package edu.ucsb.nceas.metacattest.harvesterClient; |
29 | 29 |
|
30 |
import edu.ucsb.nceas.metacat.MetaCatUtil; |
|
31 | 30 |
import edu.ucsb.nceas.metacat.harvesterClient.HarvestDocument; |
32 | 31 |
import edu.ucsb.nceas.metacat.harvesterClient.HarvestSiteSchedule; |
33 | 32 |
import edu.ucsb.nceas.metacat.harvesterClient.Harvester; |
33 |
import edu.ucsb.nceas.metacat.service.PropertyService; |
|
34 |
import edu.ucsb.nceas.metacat.util.MetaCatUtil; |
|
34 | 35 |
import edu.ucsb.nceas.utilities.Options; |
35 | 36 |
|
36 | 37 |
import java.io.File; |
... | ... | |
57 | 58 |
{ |
58 | 59 |
Options.initialize(new File("build/tests/metacat.properties")); |
59 | 60 |
MetaCatUtil.pathsForIndexing |
60 |
= MetaCatUtil.getOptionList(MetaCatUtil.getOption("indexPaths"));
|
|
61 |
= MetaCatUtil.getOptionList(PropertyService.getProperty("indexPaths"));
|
|
61 | 62 |
} |
62 | 63 |
catch(Exception e) |
63 | 64 |
{ |
Also available in: Unified diff
Merge 1.9 changes into Head