Examples of sanitiseGitIgnoreGlob()


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

        copier.addOrRemoveDirectory(workspaceRoot, baseDir, "/", add);

        VersionControlIgnoresManager ignoresManager = versionControlIgnoresManager.get();
        if (ignoresManager != null) {
            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

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

        VersionControlIgnoresManager ignoresManager = versionControlIgnoresManager.get();
        if (ignoresManager != null) {
            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

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

        VersionControlIgnoresManager ignoresManager = versionControlIgnoresManager.get();
        if (ignoresManager != null) {
            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

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

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

        return manager.sanitiseGitIgnoreGlob(rooted, ignoreGlob, directory);
    }

    @Override
    public void addIgnores(Set<String> plugins, File dstDir, String ignores) {
        VersionControlIgnoresManager manager = this.manager.get();
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.