Examples of logToConsole()


Examples of de.his.core.tools.cs.sys.quality.eclipsemacker.util.ConsoleLoggingHelper.logToConsole()

            collectResources(kind, monitor);
            //check collected resources
            checkResources(monitor);
        } else {
            ConsoleLoggingHelper log = new ConsoleLoggingHelper(JavaCore.create(getProject()), "Macker");
            log.logToConsole("Skipping further checks as no rules were found.");
        }
        return null;
    }

    /**
 
View Full Code Here

Examples of de.his.core.tools.cs.sys.quality.eclipsemacker.util.ConsoleLoggingHelper.logToConsole()

        ConsoleLoggingHelper log = new ConsoleLoggingHelper(JavaCore.create(getProject()), "Macker");
        String useGlobalSettingsPref = getProject().getPersistentProperty(new QualifiedName("", PreferenceConstants.USE_GLOBAL_SETTINGS));
        if ("false".equals(useGlobalSettingsPref)) {
            // use local settings
            this.builderSettings = new BuilderProjectSpecificSettings();
            log.logToConsole("Using project specific settings");
        } else {
            // use global settings
            this.builderSettings = new BuilderGlobalSettings();
            log.logToConsole("Using global settings");
        }
View Full Code Here

Examples of de.his.core.tools.cs.sys.quality.eclipsemacker.util.ConsoleLoggingHelper.logToConsole()

            this.builderSettings = new BuilderProjectSpecificSettings();
            log.logToConsole("Using project specific settings");
        } else {
            // use global settings
            this.builderSettings = new BuilderGlobalSettings();
            log.logToConsole("Using global settings");
        }

        //dem builder eine referenz auf das aktuelel projekt uebergeben
        this.getBuilderSettings().setProject(getProject());
        this.builderSettings.initSettings();
View Full Code Here

Examples of de.his.core.tools.cs.sys.quality.eclipsemacker.util.ConsoleLoggingHelper.logToConsole()

        this.getBuilderSettings().setProject(getProject());
        this.builderSettings.initSettings();

        //log if no rules found
        if (this.builderSettings.getRulesFull().isEmpty()) {
            log.logToConsole("No Rules found for configuration of Project '" + getProject().getName() + "'");
            log.logToConsole("Rules configured in project '" + this.builderSettings.getProject().getName() + "'.");
            log.logToConsole("Rules configured in folder '" + this.builderSettings.getRulesDir() + "'");
        }

    //einmaliges hinzufuegen der definierten Regeln
View Full Code Here

Examples of de.his.core.tools.cs.sys.quality.eclipsemacker.util.ConsoleLoggingHelper.logToConsole()

        this.builderSettings.initSettings();

        //log if no rules found
        if (this.builderSettings.getRulesFull().isEmpty()) {
            log.logToConsole("No Rules found for configuration of Project '" + getProject().getName() + "'");
            log.logToConsole("Rules configured in project '" + this.builderSettings.getProject().getName() + "'.");
            log.logToConsole("Rules configured in folder '" + this.builderSettings.getRulesDir() + "'");
        }

    //einmaliges hinzufuegen der definierten Regeln
    this.getBuilderSettings().addRulesToMacker(customMacker);
View Full Code Here

Examples of de.his.core.tools.cs.sys.quality.eclipsemacker.util.ConsoleLoggingHelper.logToConsole()

        //log if no rules found
        if (this.builderSettings.getRulesFull().isEmpty()) {
            log.logToConsole("No Rules found for configuration of Project '" + getProject().getName() + "'");
            log.logToConsole("Rules configured in project '" + this.builderSettings.getProject().getName() + "'.");
            log.logToConsole("Rules configured in folder '" + this.builderSettings.getRulesDir() + "'");
        }

    //einmaliges hinzufuegen der definierten Regeln
    this.getBuilderSettings().addRulesToMacker(customMacker);
View Full Code Here

Examples of de.his.core.tools.cs.sys.quality.eclipsemacker.util.ConsoleLoggingHelper.logToConsole()

        ConsoleLoggingHelper log = new ConsoleLoggingHelper(getjProject(), "Macker");
        ArrayList<File> r = new ArrayList<File>();
        IWorkspace ws = ResourcesPlugin.getWorkspace();
        IProject ruleIProject = ws.getRoot().getProject(ruleProject);
        String pathname = ruleIProject.getLocationURI().toString() + "/" + getRulesDir();
        log.logToConsole("Effective rules directory: " + pathname);
        IFile ruleDirectory = ruleIProject.getFile(getRulesDir());
        File dir = new File(ruleDirectory.getRawLocationURI());
        boolean exists = dir.exists();
        boolean directory = dir.isDirectory();
        if (exists && directory) {
View Full Code Here

Examples of de.his.core.tools.cs.sys.quality.eclipsemacker.util.ConsoleLoggingHelper.logToConsole()

        ConsoleLoggingHelper log = new ConsoleLoggingHelper(getjProject(), "Macker");
        File[] fileList = dir.listFiles();
        for (File f : fileList) {
            if (f.getName().endsWith(".xml")) {
                r.add(f);
                log.logToConsole("Found rule file: " + f.getAbsolutePath());
            }
        }
        setRulesFull(r);
    }
View Full Code Here

Examples of slash.common.log.LoggingHelper.logToConsole()

    private void initializeLogging() {
        LoggingHelper loggingHelper = LoggingHelper.getInstance();
        loggingHelper.logToFile();
        if (preferences.getBoolean(DEBUG_PREFERENCE, false)) {
            loggingHelper.logToConsole();
        }
        log.info("Started " + getTitle() + " for " + getRouteConverter() + " with locale " + Locale.getDefault() +
                " on " + getJava() + " and " + getPlatform() + " with " + getMaximumMemory() + " MByte heap");
    }
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.