Package org.aspectj.ajdt.internal.core.builder

Examples of org.aspectj.ajdt.internal.core.builder.AjState


    IncrementalStateManager.removeIncrementalStateInformationFor(compilerId);
    buildManager.cleanupEnvironment();
  }

  public boolean addDependencies(File file, String[] typeNameDependencies) {
    AjState state = IncrementalStateManager.retrieveStateFor(compilerId);
    return state.recordDependencies(file, typeNameDependencies);
  }
View Full Code Here


   */
  public void performBuild(boolean fullBuild) {

    // If an incremental build is requested, check that we can
    if (!fullBuild) {
      AjState existingState = IncrementalStateManager.retrieveStateFor(compiler.getId());
      if (existingState == null || existingState.getBuildConfig() == null
          || ajBuildManager.getState().getBuildConfig() == null) {
        // No existing state so we must do a full build
        fullBuild = true;
      } else {
        AsmManager.setLastActiveStructureModel(existingState.getStructureModel());
        // AsmManager.getDefault().setRelationshipMap(existingState.getRelationshipMap());
        // AsmManager.getDefault().setHierarchy(existingState.getStructureModel());
      }
    }
    try {
View Full Code Here

            lastConfigFile = this.configFile;
            this.configFile = configFile;
            if (!fresh) {
        // Check if we need to dig out an old incremental state
        if (!configFile.equals(lastConfigFile)) {
          AjState correctStateForConfig = IncrementalStateManager.retrieveStateFor(configFile);
          if (correctStateForConfig==nullfresh = true; // have to full build
          else {
            compilerAdapter.setState(correctStateForConfig);
            AsmManager.getDefault().setRelationshipMap(correctStateForConfig.getRelationshipMap());
            AsmManager.getDefault().setHierarchy(correctStateForConfig.getStructureModel());
          }
        }
            }
            if (fresh) {
                this.compilerAdapter.nextBuildFresh();
View Full Code Here

TOP

Related Classes of org.aspectj.ajdt.internal.core.builder.AjState

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.