system/src/sc/repos/AbstractRepositoryManager.java
public void completeInstall(RepositoryPackage pkg) {
      File tagFile = getTagFile(pkg);
      if (pkg.installError != null) {
         if (tagFile != null)
            tagFile.delete();
         System.err.println("Installing package: " + pkg.packageName + " failed: " + pkg.installError);
      }
      else {
         pkg.installedTime = System.currentTimeMillis();
         if (tagFile != null) {
            // Make the version specific directory if necessary
            new File(tagFile.getParent()).mkdirs();
            pkg.saveToFile(tagFile);
         }
      }
      ArrayList<RepositoryPackage> subPackages = pkg.subPackages;
      if (subPackages != null) {
         for (RepositoryPackage subPkg:subPackages) {
            completeInstall(subPkg);
         }
      }

   }
/**
    * Called after the dependencies have been installed.  Can use pkg.installError to determine if the install was
    * successfull.
    */
Called after the dependencies have been installed.  Can use pkg.installError to determine if the install was
successfull.
Called after the dependencies have been installed . Can use pkg . installError to determine if the install was successfull .
public void completeInstall(RepositoryPackage pkg) {
      File tagFile = getTagFile(pkg);
      if (pkg.installError != null) {
         if (tagFile != null)
            tagFile.delete();
         System.err.println("Installing package: " + pkg.packageName + " failed: " + pkg.installError);
      }
      else {
         pkg.installedTime = System.currentTimeMillis();
         if (tagFile != null) {
            new File(tagFile.getParent()).mkdirs();
            pkg.saveToFile(tagFile);
         }
      }
      ArrayList<RepositoryPackage> subPackages = pkg.subPackages;
      if (subPackages != null) {
         for (RepositoryPackage subPkg:subPackages) {
            completeInstall(subPkg);
         }
      }
   }
public void completeInstall ( RepositoryPackage pkg ) { File tagFile = getTagFile ( pkg ) ; if ( pkg . installError != null ) { if ( tagFile != null ) tagFile . delete ( ) ; System . err . println ( "Installing package: " + pkg . packageName + " failed: " + pkg . installError ) ; } else { pkg . installedTime = System . currentTimeMillis ( ) ; if ( tagFile != null ) { new File ( tagFile . getParent ( ) ) . mkdirs ( ) ; pkg . saveToFile ( tagFile ) ; } } ArrayList < RepositoryPackage > subPackages = pkg . subPackages ; if ( subPackages != null ) { for ( RepositoryPackage subPkg : subPackages ) { completeInstall ( subPkg ) ; } } }
Called after the dependencies have been installed.
Called after the dependencies have been installed .
// Make the version specific directory if necessary