Revision 8130
Added by Jing Tao over 11 years ago
metacat-index/src/test/java/edu/ucsb/nceas/metacat/index/IndexGeneratorIT.java | ||
---|---|---|
43 | 43 |
} |
44 | 44 |
|
45 | 45 |
private SolrIndex generateSolrIndex() throws Exception { |
46 |
String springConfigFile = "src/main/resources/index-processor-context.xml";
|
|
46 |
String springConfigFile = "/index-processor-context.xml"; |
|
47 | 47 |
String metacatPropertyFile = null; //in this test, we use the test.properties file rather than metacat.properties file. so set it to be null. |
48 | 48 |
ApplicationController controller = new ApplicationController(springConfigFile, metacatPropertyFile); |
49 | 49 |
controller.initialize(); |
Also available in: Unified diff
change the configuration path.