Package org.eclipse.core.resources

Examples of org.eclipse.core.resources.IFolder.refreshLocal()


      }
    }

    IFolder outputFolder = getProject().getFolder(Util.getGwtOutputFolder());
    try {
      outputFolder.refreshLocal(IResource.DEPTH_INFINITE, null);
    } catch (CoreException e) {
      // ignore
      Activator.logException(e);
    }
  }
View Full Code Here


        IFile aModuleFile = (IFile) modules.get(i);
        String moduleName = Util.getQualifiedName(aModuleFile);
        IFolder moduleOutputFolder = folder.getFolder(moduleName);
        if (moduleOutputFolder.exists()) {
          moduleOutputFolder.delete(true, new SubProgressMonitor(monitor, (i * 2) + 1));
          moduleOutputFolder.refreshLocal(IResource.DEPTH_ONE, new SubProgressMonitor(monitor, (i * 2) + 2));
        }
      }
    } finally {
      monitor.done();
    }
View Full Code Here

    } catch (InterruptedException e) {
      // ok;
    }

    IFolder outputLocation = Helper.getOutputLocation(project);
    outputLocation.refreshLocal(IResource.DEPTH_INFINITE, null);

  }

  //
  // private void launch(ILaunchConfiguration launchConfig) throws
View Full Code Here

      }
    }

    IFolder outputFolder = getProject().getFolder(Util.getGwtOutputFolder());
    try {
      outputFolder.refreshLocal(IResource.DEPTH_INFINITE, null);
    } catch (CoreException e) {
      // ignore
      Activator.logException(e);
    }
  }
View Full Code Here

        IFile aModuleFile = modules.get(i);
        String moduleName = Util.getQualifiedName(aModuleFile);
        IFolder moduleOutputFolder = folder.getFolder(moduleName);
        if (moduleOutputFolder.exists()) {
          moduleOutputFolder.delete(true, new SubProgressMonitor(monitor, (i * 2) + 1));
          moduleOutputFolder.refreshLocal(IResource.DEPTH_ONE, new SubProgressMonitor(monitor, (i * 2) + 2));
        }
      }
    } finally {
      monitor.done();
    }
View Full Code Here

    }

    long end = System.currentTimeMillis();
    Activator.debugMessage("GWT Compiler finished. Took "+(end-start)+" msecs");
    IFolder outputLocation = Helper.getOutputLocation(project);
    outputLocation.refreshLocal(IResource.DEPTH_INFINITE, null);

  }

  //
  // private void launch(ILaunchConfiguration launchConfig) throws
View Full Code Here

      }
    }
   
    IFolder outputFolder = getProject().getFolder(Util.getGwtOutputFolder());
    try {
      outputFolder.refreshLocal(IResource.DEPTH_INFINITE, null);
    } catch (CoreException e) {
      // ignore
      Activator.logException(e);
    }
  }
View Full Code Here

        IFile aModuleFile = (IFile) modules.get(i);
        String moduleName = Util.getQualifiedName(aModuleFile);
        IFolder moduleOutputFolder = folder.getFolder(moduleName);
        if(moduleOutputFolder.exists()) {
          moduleOutputFolder.delete(true, new SubProgressMonitor(monitor, (i*2)+1));
          moduleOutputFolder.refreshLocal(IResource.DEPTH_ONE, new SubProgressMonitor(monitor, (i*2)+2));
        }
      }
    }finally {
      monitor.done();
    }
View Full Code Here

            ignored.printStackTrace();
        }
        IJavaProject project = getJavaProject(config);
        IFolder folder = project.getProject().getFolder(
                config.getAttribute(MuClipseConstants.MUTANTS, ""));
        folder.refreshLocal(IResource.DEPTH_INFINITE, null);
    }

    private boolean validateConfig(ILaunchConfiguration configuration)
            throws CoreException {
        String mutants = configuration.getAttribute(
View Full Code Here

            ignored.printStackTrace();
        }
        IJavaProject project = getJavaProject(config);
        IFolder folder = project.getProject().getFolder(
                config.getAttribute(MuClipseConstants.MUTANTS, ""));
        folder.refreshLocal(IResource.DEPTH_INFINITE, null);
       
         
    }

    private boolean validateConfig(ILaunchConfiguration configuration)
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.