Esempio n. 1
0
  @Before
  public void initialClean() throws CoreException {
    final IErlProject p2 = ErlideTestUtils.getExistingProject("builders");
    prj = p2.getResource().getProject();

    final IResource ebin = prj.findMember("ebin");
    if (ebin != null) {
      ebin.delete(true, null);
    } else {
      prj.getFolder("ebin").create(true, true, null);
    }
  }
Esempio n. 2
0
 @AfterClass
 public static void finish() throws CoreException {
   final IErlProject p2 = ErlideTestUtils.getExistingProject("p2");
   final IProject prj = p2.getResource().getProject();
   ErlangNature.setErlangProjectBuilder(prj, BuilderTool.INTERNAL);
 }