//@Override
public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
monitor.beginTask("Import "+projectName, 3);
try {
//1:
SampleProject sample = asSample(projectName, codeset);
File rootFolder = new File(location);
sample.createAt(rootFolder);
monitor.worked(1);
//2:
GradleImportOperation importOp = GradleImportOperation.importAll(rootFolder);
importOp.setEnableDependencyManagement(false);