Constants.pm -- defines/exports all framework-wide constants.
This module defines all properties for files and directories. Every property is initialized with a default value, which can be overriden by setting the corresponding environment variable.
SCRIPT_DIR
The directory that contains all scripts and modules (parent of this module's directory)
CORE_DIR
The directory that contains all core modules (SCRIPT_DIR
/core)
LIB_DIR
The directory that contains additional libraries (SCRIPT_DIR
/lib).
UTIL_DIR
The directory that contains util scripts (SCRIPT_DIR
/util).
BASE_DIR
The base directory (SCRIPT_DIR
/..)
REPO_DIR
The directory that contains project repositoriy clones (BASE_DIR
/project_repos)
D4J_TMP_DIR
The temporary root directory, used to checkout a program version (/tmp)
MAJOR_ROOT
The root directory of the Major mutation framework (BASE_DIR
/major)
TESTGEN_LIB_DIR
The directory of the libraries of the test generation tools (LIB_DIR
/test_generation/generation)
D4J_BUILD_FILE
The top-level (ant) build file (SCRIPT_DIR
/projects/defects4j.build.xml)