String projectRetrievePattern = retrieveRoot + RETRIEVE_PATTERN;
ivy.retrieve(report.getModuleDescriptor().getResolvedModuleRevisionId(), projectRetrievePattern, retrieveOptions);
}
private void retrieve(IOTabIvyLogger logger, String confs[], String retrieveRoot, Ivy ivy, ProjectPreferences projectPreferences, ResolveReport report) throws IOException {
IvyRetrieveSettings retrieveSettings = projectPreferences.getProjectRetrieveSettings();
logger.log(NbBundle.getMessage(IvyFacade.class, "StartRetrieve"), Message.MSG_INFO);
logger.log(NbBundle.getMessage(IvyFacade.class, "StartJarRetrieve"), Message.MSG_INFO);
retrieveFiles(confs, ivy, retrieveRoot + JAR_SUB_PATH, report, retrieveSettings.getJarTypes());
logger.log(NbBundle.getMessage(IvyFacade.class, "EndJarRetrieve"), Message.MSG_INFO);
logger.log(NbBundle.getMessage(IvyFacade.class, "StartSourceRetrieve"), Message.MSG_INFO);
retrieveFiles(confs, ivy, retrieveRoot + SOURCE_SUB_PATH, report, retrieveSettings.getSourceTypes());
logger.log(NbBundle.getMessage(IvyFacade.class, "EndSourceRetrieve"), Message.MSG_INFO);
logger.log(NbBundle.getMessage(IvyFacade.class, "StartJavadocRetrieve"), Message.MSG_INFO);
retrieveFiles(confs, ivy, retrieveRoot + JAVADOC_SUB_PATH, report, retrieveSettings.getJavadocTypes());
logger.log(NbBundle.getMessage(IvyFacade.class, "EndJavadocRetrieve"), Message.MSG_INFO);
logger.log(NbBundle.getMessage(IvyFacade.class, "EndRetrieve"), Message.MSG_INFO);
}