Package org.springsource.ide.eclipse.gradle.core.util

Examples of org.springsource.ide.eclipse.gradle.core.util.GradleRunnable


    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());
View Full Code Here


  }

  public static void validateZipStructure(final GithubRepoContent guide) throws Throwable {
    try {
      final boolean expectGeneral = isGeneral(guide.getName());
      buildJob(new GradleRunnable("validate "+guide) {
        @Override
        public void doit(IProgressMonitor mon) throws Exception {
          File zipFile = guide.getZip().getFile();
          assertTrue("Could not download "+ guide.getZip(),
              zipFile!=null && zipFile.exists());
View Full Code Here

TOP

Related Classes of org.springsource.ide.eclipse.gradle.core.util.GradleRunnable

Copyright © 2018 www.massapicom. 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.