Package org.eclipse.jdt.internal.core.JavaModelManager

Examples of org.eclipse.jdt.internal.core.JavaModelManager.PerProjectInfo


   */
  protected void executeOperation() throws JavaModelException {
    checkCanceled();
    try {
      // set raw classpath and null out resolved info
      PerProjectInfo perProjectInfo = this.project.getPerProjectInfo();
      ClasspathChange classpathChange = perProjectInfo.setRawClasspath(this.newRawClasspath, this.referencedEntries, this.newOutputLocation, JavaModelStatus.VERIFIED_OK/*format is ok*/);

      // if needed, generate delta, update project ref, create markers, ...
      classpathChanged(classpathChange, true/*refresh if external linked folder already exists*/);

      // write .classpath file
      if (this.canChangeResources && perProjectInfo.writeAndCacheClasspath(this.project, this.newRawClasspath, this.newOutputLocation))
        setAttribute(HAS_MODIFIED_RESOURCE_ATTR, TRUE);
    } finally {
      done();
    }
  }
View Full Code Here

TOP

Related Classes of org.eclipse.jdt.internal.core.JavaModelManager.PerProjectInfo

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.