project.setProperty(EasyAntMagicNames.OFFLINE_EASYANT_RESOLVER,
EasyAntConstants.DEFAULT_OFFLINE_EASYANT_RESOLVER);
project.setProperty(EasyAntMagicNames.OFFLINE_BASE_DIRECTORY, project.getBaseDir().getAbsolutePath()
+ "/offline/");
ConfigureBuildScopedRepository easyantOfflineRepository = new ConfigureBuildScopedRepository();
easyantOfflineRepository.setGenerateWrapperResoler(false);
easyantOfflineRepository.setName(project.getProperty(EasyAntMagicNames.OFFLINE_EASYANT_RESOLVER));
easyantOfflineRepository.setDictator(Project.toBoolean(project.getProperty(EasyAntMagicNames.EASYANT_OFFLINE)));
easyantOfflineRepository.setSettingsRef(IvyInstanceHelper.buildEasyAntIvyReference(project));
easyantOfflineRepository.setTarget(project.getProperty(EasyAntMagicNames.OFFLINE_BASE_DIRECTORY));
executeTask(easyantOfflineRepository, "configure-offline-easyant-resolver", project);
}