Package org.eclipse.dltk.core

Examples of org.eclipse.dltk.core.IScriptProject.makeConsistent()


    // builder is not added to the .project, so here we force it to be added.
    IProjectNature nature = project.getNature(RubyNature.NATURE_ID);
    nature.configure();

    IScriptProject scriptProject = DLTKCore.create(project);
    scriptProject.makeConsistent(null);
    scriptProject.save(null, false);
  }

  // that last block doesn't seem to flush the previous interpreter's
  // completions... must be some other way to do that.
View Full Code Here


          container.getExtraAttributes(),
          container.isExported());
      scriptProject.setRawBuildpath(buildpath, null);
    }

    scriptProject.makeConsistent(null);
    scriptProject.save(null, false);
  }

  @Override
  public List<Error> update(IProject project, CommandLine commandLine)
View Full Code Here

    }

    // always set the buildpath anyways, so that the user can correct the file.
    //if(status.isOK() && errors.isEmpty()){
      scriptProject.setRawBuildpath(entries, null);
      scriptProject.makeConsistent(null);
    //}

    if(errors.size() > 0){
      return errors;
    }
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.