Package org.eclipse.m2e.wtp.overlay.modulecore

Examples of org.eclipse.m2e.wtp.overlay.modulecore.UnpackArchiveJob.schedule()


      IFolder unpackedFolder = getUnpackedArchiveFolder(archive);
      if (isUnpackNeeded(archive, unpackedFolder)) {
        Job[] currentJobs = Job.getJobManager().find(unpackedFolder);
        if (currentJobs.length == 0) {
          Job job = new UnpackArchiveJob(NLS.bind(Messages.OverlayVirtualArchiveComponent_Unpacking_Job,archive.getName()), archive, unpackedFolder);
          job.schedule();
        }
        root = new ResourceListVirtualFolder(getProject(), getRuntimePath(), new IContainer[] {});  
      } else {
         
        if (cachedRoot != null && (System.currentTimeMillis() - lastCacheUpdate) < MAX_CACHE){
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.