Package com.munian.ivy.module.facade.libraryparser

Examples of com.munian.ivy.module.facade.libraryparser.AbstractLibraryParser


                    ResolveOptions resolveOption = new ResolveOptions().setConfs(confs);
                    resolveOption.setValidate(ivy.getSettings().doValidate());
                    ResolveReport report = ivy.resolve(ivyFileLocation, resolveOption);

                    logger.log(NbBundle.getMessage(IvyFacade.class, "EndResolve"), Message.MSG_INFO);
                    AbstractLibraryParser libraryParser;
                    if (projectPreferences.isUseCachePath()) {
                        libraryParser = Lookup.getDefault().lookup(CachePathLibraryParser.class);
                    } else {
                        libraryParser = Lookup.getDefault().lookup(RetrievingLibraryParser.class);
                    }
                    logger.log(NbBundle.getMessage(IvyFacade.class, "StartLibrariesUpdate"), Message.MSG_INFO);

                    List<ParsedConfArtifacts> parsedArtifacts = libraryParser.parseArtifactsInReport(logger, ivy, report, projectPreferences, updater, subprojectProvider);
                    updater.update(projectPreferences, parsedArtifacts);
                    logger.log(NbBundle.getMessage(IvyFacade.class, "EndLibrariesUpdate"), Message.MSG_INFO);

                } catch (IvyException ex) {
                    Exceptions.printStackTrace(ex);
View Full Code Here

TOP

Related Classes of com.munian.ivy.module.facade.libraryparser.AbstractLibraryParser

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.