lucene/dev-tools
Steven Rowe 317d3abbbe LUCENE-2611: When the CWD is solr/build/tests/, the hack in SolrTestCaseJ4.determineSourceHome() fails while running the Solr module tests because of classpath ordering: the CWD is checked first to locate the solr/conf/ dir; this succeeds, but the relative path used for the CWD excludes its ancestry, so the source home can't be navigated to without converting to absolute, which determinSourceHome() does not do.
This change works around the issue by making the CWD for the Solr module tests be solr/build/tests/solr/, which does not contain solr/conf/, so the remainder of the classpath is searched, and the absolute classpath element .../solr/build/tests/ allows the source home to be located.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1054464 13f79535-47bb-0310-9956-ffa450edef68
2011-01-02 19:45:59 +00:00
..
eclipse LUCENE-2611: Re-sync IntelliJ config in dev-tools/idea/; Move both solr/src/test/test-files/ and solr/contrib/analysis-extras/src/test/test-files/ up one level; Set the IntelliJ Java language level on all Solr modules to 6.0 2011-01-02 10:01:17 +00:00
idea LUCENE-2611: When the CWD is solr/build/tests/, the hack in SolrTestCaseJ4.determineSourceHome() fails while running the Solr module tests because of classpath ordering: the CWD is checked first to locate the solr/conf/ dir; this succeeds, but the relative path used for the CWD excludes its ancestry, so the source home can't be navigated to without converting to absolute, which determinSourceHome() does not do. 2011-01-02 19:45:59 +00:00