On 6/27/07, Eric Pugh <[EMAIL PROTECTED]> wrote:
I added to   public TestHarness(String dataDirectory,
                      String confFile,
                      String schemaFile) {

these lines:

System.setProperty("solr.test.sys.prop1", "propone");
System.setProperty("solr.test.sys.prop2", "proptwo");

Otherwise I always got an error about a missing system property.
Normally, via Ant, these are passed in via the JUnit test
definition.  Would this change be worth an issue in Jira and a patch
file?

Yes, either this, or make those specific tests use a separate config.

Also, mucking around with working-directories didn't work, so I added
the path in Config.java.  Attached is a patch file for these two
changes.....

Hmmm, don't know why fixing the working directory wouldn't work for
you... anyone else use Eclipse?

-Yonik

Reply via email to