Instead of hard-coding a list of collections and their data directories, list "mediacloud/collections/" directory, verify the integrity of each directory (e.g. whether <dataDir> is set correctly), and then set the required Java properties
Instead of hard-coding a list of collections and their data directories, list "mediacloud/collections/" directory, verify the integrity of each directory (e.g. whether <dataDir> is set correctly), and then set the required Java properties

berkmancenter/mediacloud,berkmancenter/mediacloud,berkmancenter/mediacloud,berkmancenter/mediacloud,berkmancenter/mediacloud