/[Apache-SVN]
ViewVC logotype

Revision 1054464


Jump to revision: Previous Next
Author: sarowe
Date: Sun Jan 2 19:45:59 2011 UTC (13 years, 10 months ago)
Changed paths: 1
Log Message:
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.

Changed paths

Path Details
Directorylucene/dev/trunk/dev-tools/idea/.idea/workspace.xml modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26