}
}
private File getURLAsFile(LocalRepository localRepository, String urlStr, String localCachePath, String description) throws IOException {
try {
DirectoryStructure ds = new DirectoryStructure();
Properties properties = new Properties();
if (Helper.loadProperties(new File(ds.localRepository, "bees.config"), properties)) {
Helper.setJVMProxySettings(properties);
}
return localRepository.getURLAsFile(urlStr, localCachePath, description);