<commit_before>package de.cooperateproject.ui.nature;

import org.apache.log4j.Logger;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IncrementalProjectBuilder;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.ui.IStartup;

public class StartupBuilder implements IStartup {

	private static final Logger LOGGER = Logger.getLogger(StartupBuilder.class);

	@Override
	public void earlyStartup() {
		for (IProject project : ResourcesPlugin.getWorkspace().getRoot().getProjects()) {
			try {
				if (project.isOpen() && NatureUtils.hasCooperateNature(project)) {
					project.build(IncrementalProjectBuilder.CLEAN_BUILD, null);
				}
			} catch (CoreException e) {
				LOGGER.error("Exception during rebuild on startup", e);
			}

		}
		ResourcesPlugin.getWorkspace().addResourceChangeListener(new ProjectOpenedListener());
	}

}<commit_msg>Switched to initial full build for Cooperate projects.<commit_after>package de.cooperateproject.ui.nature;

import org.apache.log4j.Logger;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IncrementalProjectBuilder;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.ui.IStartup;

public class StartupBuilder implements IStartup {

    private static final Logger LOGGER = Logger.getLogger(StartupBuilder.class);

    @Override
    public void earlyStartup() {
        for (IProject project : ResourcesPlugin.getWorkspace().getRoot().getProjects()) {
            try {
                if (project.isOpen() && NatureUtils.hasCooperateNature(project)) {
                    project.build(IncrementalProjectBuilder.FULL_BUILD, null);
                }
            } catch (CoreException e) {
                LOGGER.error("Exception during rebuild on startup", e);
            }

        }
        ResourcesPlugin.getWorkspace().addResourceChangeListener(new ProjectOpenedListener());
    }

}
{'fraction_non_alphanumeric': 0.10148514851485149, 'fraction_numerical': 0.0009900990099009901, 'mean_word_length': 4.0148883374689825, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4827582', 'n_tokens_mistral': 589, 'n_tokens_neox': 553, 'n_words': 107}