public static String getRepoPropertiesFileLocation ( ) { String installDirPath = Utils . getInstallDir ( ) . getAbsolutePath ( ) ; String overrideLocation = System . getProperty ( InstallConstants . OVERRIDE_PROPS_LOCATION_ENV_VAR ) ; //Gets the repository properties file path from the default location if ( overrideLocation == null ) { return installDirPath + InstallConstants . DEFAULT_REPO_PROPERTIES_LOCATION ; } else { //Gets the repository properties file from user specified location return overrideLocation ; } }
Finds the repository properties file location