1 package com.proalpha.pds.gitutils.checks;
3 import org.eclipse.core.commands.AbstractHandler;
4 import org.eclipse.core.commands.ExecutionEvent;
5 import org.eclipse.core.commands.ExecutionException;
6 import org.eclipse.core.runtime.jobs.Job;
11 public Object execute(ExecutionEvent event)
throws ExecutionException {
16 String relativeCompFile = String.format(
"%s_branchfiles.inp", repositoryTools.getBranch());
19 options.type = CompileType.BRANCH;
20 options.compilerInputFileName = relativeCompFile;
22 Job compileJob =
new CompileJob(
"Collect branch dependency files", repositoryTools, options);
23 compileJob.setUser(
true);
25 compileJob.schedule();