Package org.apache.solr.util
Class ExternalPaths
- java.lang.Object
-
- org.apache.solr.util.ExternalPaths
-
public class ExternalPaths extends Object
Some tests need to reach outside the classpath to get certain resources (e.g. the example configuration). This class provides some paths to allow them to do this.- NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_CONFIGSET
static String
SERVER_HOME
static String
SOURCE_HOME
The main directory path for the solr source being built if it can be determined.static String
TECHPRODUCTS_CONFIGSET
static String
WEBAPP_HOME
-
Constructor Summary
Constructors Constructor Description ExternalPaths()
-
-
-
Field Detail
-
SOURCE_HOME
public static final String SOURCE_HOME
The main directory path for the solr source being built if it can be determined. If it can not be determined -- possily because the current context is a client code base using hte test frameowrk -- then this variable will be null.Note that all other static paths available in this class are derived from the source home, and if it is null, those paths will just be relative to 'null' and may not be meaningful.
-
WEBAPP_HOME
public static String WEBAPP_HOME
- See Also:
SOURCE_HOME
-
DEFAULT_CONFIGSET
public static String DEFAULT_CONFIGSET
- See Also:
SOURCE_HOME
-
TECHPRODUCTS_CONFIGSET
public static String TECHPRODUCTS_CONFIGSET
- See Also:
SOURCE_HOME
-
SERVER_HOME
public static String SERVER_HOME
- See Also:
SOURCE_HOME
-
-