You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Dawid Weiss (Jira)" <ji...@apache.org> on 2019/12/06 10:35:00 UTC

[jira] [Created] (SOLR-14023) tests.src.home points at ${user.dir}" for tests (?!)

Dawid Weiss created SOLR-14023:
----------------------------------

             Summary: tests.src.home points at ${user.dir}" for tests (?!)
                 Key: SOLR-14023
                 URL: https://issues.apache.org/jira/browse/SOLR-14023
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Dawid Weiss


The "tests.src.home" variable points at ${user.dir} in common-build.xml. This property is used as a fallback in ExternalPaths to locate Solr sources to resolve certain paths...

All of the logic present in ExternalPaths is just wrong, really. It should be an explicit property pointing at an explicit location (ideally the output of a distribution assemble folder) which tests would then use.

As it stands now the code scans upwards from user.dir...

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org