Package org.bndtools.versioncontrol.ignores.manager.api

Examples of org.bndtools.versioncontrol.ignores.manager.api.VersionControlIgnoresManager.addIgnores()


            List<String> ignoredEntries = new LinkedList<String>();
            ignoredEntries.add(ignoresManager.sanitiseGitIgnoreGlob(true, "/.gradle/", true));
            ignoredEntries.add(ignoresManager.sanitiseGitIgnoreGlob(true, "/reports/", true));
            ignoredEntries.add(ignoresManager.sanitiseGitIgnoreGlob(true, Workspace.getDefaults().getProperty(Constants.DEFAULT_PROP_TARGET_DIR), true));

            ignoresManager.addIgnores(enabledIgnorePlugins, workspaceRoot, ignoredEntries);
        }
    }
}
View Full Code Here


        VersionControlIgnoresManager manager = this.manager.get();
        if (manager == null) {
            return;
        }

        manager.addIgnores(plugins, dstDir, ignores);
    }

    @Override
    public void addIgnores(Set<String> plugins, File dstDir, List<String> ignores) {
        VersionControlIgnoresManager manager = this.manager.get();
View Full Code Here

        VersionControlIgnoresManager manager = this.manager.get();
        if (manager == null) {
            return;
        }

        manager.addIgnores(plugins, dstDir, ignores);
    }

    @Override
    public Set<String> getPluginsForProjectRepositoryProviderId(String repositoryProviderId) {
        VersionControlIgnoresManager manager = this.manager.get();
View Full Code Here

            templateIgnores = templateConfig.getAttribute("ignores");
        } catch (Exception e) {
            logger.logError("Could not retrieve the 'ignores' property from the cnf template " + bsn, e);
        }
        if (templateIgnores != null && !templateIgnores.isEmpty()) {
            versionControlIgnoresManager.addIgnores(enabledIgnorePlugins, cnfJavaProject.getProject().getLocation().toFile(), templateIgnores);
        }

        /* Headless build files */
        String nobuild = templateConfig.getAttribute("nobuild");
        if (!Processor.isTrue(nobuild)) {
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.