@Override protected void tearDown() throws Exception { super.tearDown(); // delete some files that may be recreated by other project.refreshLocal(IResource.DEPTH_INFINITE, null); try { project.getFile("grails-app/controllers/bart/StoreController.groovy").delete(true, null); } catch (Exception e) { } try { project.getFolder("grails-app/views/store").delete(true, null); } catch (Exception e) { } try { project.getFolder("test/unit/bart/StoreTests.groovy").delete(true, null); } catch (Exception e) { } try { project.getFolder("test/unit/bart/StoreControllerTests.groovy").delete(true, null); } catch (Exception e) { } }