Package org.eclipse.jdt.core

Examples of org.eclipse.jdt.core.IJavaProject.makeConsistent()


      if (project.getDescription().getName().equals(name)){
        //prepare project for tests
        project.refreshLocal(IResource.DEPTH_INFINITE, null);
        IJavaProject result = JavaCore.create(project);
        result.open(null);
        result.makeConsistent(null);
        assert result.isOpen();
        assert result.isConsistent();
        return result;
      }
    }
View Full Code Here


      if (output == null){
        output = BuildPathsBlock.getDefaultOutputLocation(javaProject);
      }
      javaProject.setOutputLocation(output, null);
    }
    javaProject.makeConsistent(null);
    javaProject.save(null, false);
  }

  /**
   * Creates or updates the projects dependencies on other projects.
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.