private File getHomeDirectory ( ) { String dirName = System . getenv ( ENV_JQASSISTANT_HOME ) ; if ( dirName != null ) { File dir = new File ( dirName ) ; if ( dir . exists ( ) ) { LOGGER . debug ( "Using JQASSISTANT_HOME '" + dir . getAbsolutePath ( ) + "'." ) ; return dir ; } else { LOGGER . warn ( "JQASSISTANT_HOME '" + dir . getAbsolutePath ( ) + "' points to a non-existing directory." ) ; return null ; } } LOGGER . warn ( "JQASSISTANT_HOME is not set." ) ; return null ; }
Determine the JQASSISTANT_HOME directory .