Package org.eclipse.core.resources

Examples of org.eclipse.core.resources.IProject.touch()


              IProject project = projectsToTouch[i];
             
              // touch to force a build of this project
              if (JavaBuilder.DEBUG)
                System.out.println("Touching project " + project.getName() + " due to external jar file change"); //$NON-NLS-1$ //$NON-NLS-2$
              project.touch(progressMonitor);
            }
          }
        };
        try {
          ResourcesPlugin.getWorkspace().run(runnable, monitor);
View Full Code Here


                  IProject project = projectsToTouch[i];

                  // touch to force a build of this project
                  if (JavaBuilder.DEBUG)
                    System.out.println("Touching project " + project.getName() + " due to external jar file change"); //$NON-NLS-1$ //$NON-NLS-2$
                  project.touch(progressMonitor);
                }
              }
            };
            try {
              ResourcesPlugin.getWorkspace().run(runnable, monitor);
View Full Code Here

      IProgressMonitor monitor = progressMonitor == null ? null: new SubProgressMonitor(progressMonitor, 1);
      IProject project = projectsToTouch[i];
      // touch to force a build of this project
      if (JavaBuilder.DEBUG)
        System.out.println("Touching project " + project.getName() + " due to external jar file change"); //$NON-NLS-1$ //$NON-NLS-2$
      project.touch(monitor);
    }
  }

  /*
   * Check if external archives have changed for the given elements and create the corresponding deltas.
View Full Code Here

    if (prj != null)
    {
      setDestecsSettings(prj);
      try
      {
        prj.touch(new NullProgressMonitor());
      } catch (CoreException e)
      {
        e.printStackTrace();
      }
    }
View Full Code Here

                  IProject project = projectsToTouch[i];

                  // touch to force a build of this project
                  if (JavaBuilder.DEBUG)
                    System.out.println("Touching project " + project.getName() + " due to external jar file change"); //$NON-NLS-1$ //$NON-NLS-2$
                  project.touch(progressMonitor);
                }
              }
            };
            try {
              ResourcesPlugin.getWorkspace().run(runnable, monitor);
View Full Code Here

      IProgressMonitor monitor = progressMonitor == null ? null: new SubProgressMonitor(progressMonitor, 1);
      IProject project = projectsToTouch[i];
      // touch to force a build of this project
      if (JavaBuilder.DEBUG)
        System.out.println("Touching project " + project.getName() + " due to external jar file change"); //$NON-NLS-1$ //$NON-NLS-2$
      project.touch(monitor);
    }
  }

  /*
   * Check if external archives have changed for the given elements and create the corresponding deltas.
View Full Code Here

                  IProject project = projectsToTouch[i];

                  // touch to force a build of this project
                  if (JavaBuilder.DEBUG)
                    System.out.println("Touching project " + project.getName() + " due to external jar file change"); //$NON-NLS-1$ //$NON-NLS-2$
                  project.touch(progressMonitor);
                }
              }
            };
            try {
              ResourcesPlugin.getWorkspace().run(runnable, monitor);
View Full Code Here

      IProgressMonitor monitor = progressMonitor == null ? null: new SubProgressMonitor(progressMonitor, 1);
      IProject project = projectsToTouch[i];
      // touch to force a build of this project
      if (JavaBuilder.DEBUG)
        System.out.println("Touching project " + project.getName() + " due to external jar file change"); //$NON-NLS-1$ //$NON-NLS-2$
      project.touch(monitor);
    }
  }

  /*
   * Check if external archives have changed for the given elements and create the corresponding deltas.
View Full Code Here

    Iterator iter = selected.iterator();
    while (iter.hasNext()) {
      IProject project = (IProject) iter.next();
      JdtUtils.removeClassLoaderEntryFromCache(project);
      try {
        project.touch(null);
      } catch (CoreException e) {
        SpringCore.log(e);
      }
    }
  }
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.