StsTestUtil.setAutoBuilding(false);
//System.out.println(">>> Setting up "+getName());
//Clean stuff from previous test: Delete any projects and their contents.
// We need to do this because imported maven and gradle projects will have the same name.
// And this cause clashes / errors.
buildJob(new GradleRunnable("delete existing workspace projects") {
public void doit(IProgressMonitor mon) throws Exception {
IProject[] allProjects = ResourcesPlugin.getWorkspace().getRoot().getProjects();
for (IProject project : allProjects) {
project.refreshLocal(IResource.DEPTH_INFINITE, null);
project.delete(/*content*/true, /*force*/true, new NullProgressMonitor());