<commit_before>package rhogenwizard.sdk.task;

import org.eclipse.core.runtime.IProgressMonitor;

import rhogenwizard.ConsoleHelper;

public class RunReleaseRhoconnectAppTask extends SeqRunTask
{
    private static RunTask[] getTasks(final String workDir)
    {
        RunTask redisStartbgTask = new ARubyTask(workDir, "rake", "redis:startbg");

        RunTask rhoconnectStartTask = new RunTask()
        {
            @Override
            public boolean isOk()
            {
                return true;
            }

            @Override
            public void run(IProgressMonitor monitor)
            {
                new Thread(new Runnable()
                {
                    @Override
                    public void run()
                    {
                        ConsoleHelper.showAppConsole();
                        new ARubyTask(workDir, "rake", "rhoconnect:start").run();
                    }
                }).start();
            }
        };

        return new RunTask[] { new StopSyncAppTask(), new StoreLastSyncRunAppTask(workDir), redisStartbgTask,
            rhoconnectStartTask };
    }

    public RunReleaseRhoconnectAppTask(String workDir)
    {
        super(getTasks(workDir));
    }
}<commit_msg>RunReleaseRhoconnectAppTask.java: 'rake rhoconnect:start' command is replaced with 'rake rhoconnect:startbg'<commit_after>package rhogenwizard.sdk.task;

public class RunReleaseRhoconnectAppTask extends SeqRunTask
{
    private static RunTask[] getTasks(final String workDir)
    {
        RunTask redisStartbgTask = new ARubyTask(workDir, "rake", "redis:startbg");
        RunTask rhoconnectStartbgTask = new ARubyTask(workDir, "rake", "rhoconnect:startbg");

        return new RunTask[] { new StopSyncAppTask(), new StoreLastSyncRunAppTask(workDir), redisStartbgTask,
            rhoconnectStartbgTask };
    }

    public RunReleaseRhoconnectAppTask(String workDir)
    {
        super(getTasks(workDir));
    }
}
{'fraction_non_alphanumeric': 0.08520408163265306, 'fraction_numerical': 0.0, 'mean_word_length': 2.262895174708819, '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': '6542831', 'n_tokens_mistral': 568, 'n_tokens_neox': 544, 'n_words': 110}