Package com.munian.ivy.module.ui.io

Examples of com.munian.ivy.module.ui.io.IOTabIvyLogger.log()


                    ProjectPreferences projectPreferences = project.getLookup().lookup(ProjectPreferences.class);
                    ArtifactUpdater updater = project.getLookup().lookup(ArtifactUpdater.class);
                    Ivy ivy = getIvy(projectPreferences.getIvySettingsFile(), projectPreferences.getIvyPropertiesFiles());
                    logger = new IOTabIvyLogger(projectInformation.getDisplayName(), IOTabIvyLogger.TAB_SUFFIX);

                    logger.log(NbBundle.getMessage(IvyFacade.class, "StartResolve"), Message.MSG_INFO);

                    IvyProgressHandleListener transferListener = new IvyProgressHandleListener(projectInformation.getDisplayName() + " " + NbBundle.getMessage(IvyProgressHandleListener.class, "Resolving"));
                    IvyProgressHandleTransferListener ivyProgressHandleTransferListener = new IvyProgressHandleTransferListener(projectInformation.getDisplayName());
                    ivy.getLoggerEngine().setDefaultLogger(logger);
                    ivy.getEventManager().addIvyListener(transferListener);
View Full Code Here


                    transferListener.setConf(Arrays.deepToString(confs));
                    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);
View Full Code Here

                    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);
View Full Code Here

                    }
                    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);
                } catch (ParseException ex) {
                    Exceptions.printStackTrace(ex);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.