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 Details

    • 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 -- possibly because the current context is a client code base using the test framework -- 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:
    • DEFAULT_CONFIGSET

      public static String DEFAULT_CONFIGSET
      See Also:
    • TECHPRODUCTS_CONFIGSET

      public static String TECHPRODUCTS_CONFIGSET
      See Also:
    • SERVER_HOME

      public static String SERVER_HOME
      See Also:
  • Constructor Details

    • ExternalPaths

      public ExternalPaths()