Package org.nbgit

Examples of org.nbgit.OutputLogger.output()


                        NbBundle.getMessage(UpdateAction.class,
                        "MSG_UPDATE_TITLE")); // NOI18N
                logger.outputInRed(
                        NbBundle.getMessage(UpdateAction.class,
                        "MSG_UPDATE_TITLE_SEP")); // NOI18N
                logger.output(
                        NbBundle.getMessage(UpdateAction.class,
                        "MSG_UPDATE_INFO_SEP", revStr, root.getAbsolutePath())); // NOI18N
                List<String> list = updateAll(root, doForcedUpdate, revStr);

                if (list != null && !list.isEmpty()) {
View Full Code Here


                List<String> list = updateAll(root, doForcedUpdate, revStr);

                if (list != null && !list.isEmpty()) {
                    bNoUpdates = isNoUpdates(list.get(0));
                    //logger.clearOutput();
                    logger.output(list);
                    logger.output(""); // NOI18N
                }
                // refresh filesystem to take account of changes
                FileObject rootObj = FileUtil.toFileObject(root);
                try {
View Full Code Here

                if (list != null && !list.isEmpty()) {
                    bNoUpdates = isNoUpdates(list.get(0));
                    //logger.clearOutput();
                    logger.output(list);
                    logger.output(""); // NOI18N
                }
                // refresh filesystem to take account of changes
                FileObject rootObj = FileUtil.toFileObject(root);
                try {
                    rootObj.getFileSystem().refresh(true);
View Full Code Here

                    GitUtils.forceStatusRefreshProject(ctx);
                }
                logger.outputInRed(
                        NbBundle.getMessage(UpdateAction.class,
                        "MSG_UPDATE_DONE")); // NOI18N
                logger.output(""); // NOI18N
            }
        };
        support.start(rp, repository, org.openide.util.NbBundle.getMessage(UpdateAction.class, "MSG_Update_Progress")); // NOI18N
    }
View Full Code Here

            OutputLogger logger = OutputLogger.getLogger(Git.GIT_OUTPUT_TAB_TITLE);
            logger.outputInRed(NbBundle.getMessage(InitAction.class, "MSG_CREATE_TITLE")); // NOI18N
            logger.outputInRed(NbBundle.getMessage(InitAction.class, "MSG_CREATE_TITLE_SEP")); // NOI18N
            logger.outputInRed(
                    NbBundle.getMessage(InitAction.class, "MSG_CREATE_NOT_SUPPORTED_INVIEW_INFO")); // NOI18N
            logger.output(""); // NOI18N
            JOptionPane.showMessageDialog(null,
                    NbBundle.getMessage(InitAction.class, "MSG_CREATE_NOT_SUPPORTED_INVIEW"),// NOI18N
                    NbBundle.getMessage(InitAction.class, "MSG_CREATE_NOT_SUPPORTED_INVIEW_TITLE"),// NOI18N
                    JOptionPane.INFORMATION_MESSAGE);
            logger.closeLog();
View Full Code Here

                                "MSG_EXTERNAL_CLONE_FROM", source)); // NOI18N
                        logger.outputInRed(
                                NbBundle.getMessage(CloneAction.class,
                                "MSG_EXTERNAL_CLONE_TO", target)); // NOI18N
                    }
                    logger.output(""); // NOI18N

                    doInit(repo, source, logger);
                    FetchResult r = doFetch(repo, logger);
                    Ref branch = r.getAdvertisedRef(Constants.HEAD);
                    if (branch == null) {
View Full Code Here

                } catch (IOException ex) {
                    notifyLater(ex);
                } finally {
                    if (!isLocalClone) {
                        logger.outputInRed(NbBundle.getMessage(CloneAction.class, "MSG_CLONE_DONE")); // NOI18N
                        logger.output(""); // NOI18N
                    }
                }
            }

            private void openProject(final File cloneProjFile, final ProjectManager projectManager, final Git git) {
View Full Code Here

                            }
                        } catch (IOException ioe) {
                            notifyLater(ioe);
                        } finally {
                            logger.outputInRed(NbBundle.getMessage(CloneAction.class, "MSG_CLONE_DONE")); // NOI18N
                            logger.output("")// NOI18N
                        }
                    }
                });
            }
        };
View Full Code Here

                            NbBundle.getMessage(InitAction.class,
                            "MSG_CREATE_TITLE")); // NOI18N
                    logger.outputInRed(
                            NbBundle.getMessage(InitAction.class,
                            "MSG_CREATE_TITLE_SEP")); // NOI18N
                    logger.output(
                            NbBundle.getMessage(InitAction.class,
                            "MSG_CREATE_INIT", prjName, root)); // NOI18N

                    repo.create();
                } catch (IOException ex) {
View Full Code Here

                    IndexBuilder.create(repo).
                            log(logger).
                            addAll(files).
                            write();

                    logger.output(
                            NbBundle.getMessage(InitAction.class,
                            "MSG_CREATE_ADD", files.size(), root.getAbsolutePath())); // NOI18N
                    logger.output(""); // NOI18N
                    logger.outputInRed(NbBundle.getMessage(InitAction.class, "MSG_CREATE_DONE_WARNING")); // NOI18N
                } catch (IOException 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.