remove ant dependency for setting test system properties

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@551701 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yonik Seeley 2007-06-28 21:18:12 +00:00
parent 79b3ef65c3
commit 63e36e5f9c
1 changed files with 4 additions and 0 deletions

View File

@ -98,6 +98,10 @@ public class TestHarness {
String confFile,
String schemaFile) {
try {
// set some system properties for use by tests
System.setProperty("solr.test.sys.prop1", "propone");
System.setProperty("solr.test.sys.prop2", "proptwo");
SolrConfig.initConfig(confFile);
core = new SolrCore(dataDirectory, new IndexSchema(schemaFile));
builder = DocumentBuilderFactory.newInstance().newDocumentBuilder();