public boolean buildJars() throws IOException, ProjectBuildException {
    myContext.processMessage(new ProgressMessage(JpsBuildBundle.message("progress.message.building.archives")));

    final JarInfo[] sortedJars = sortJars();
    if (sortedJars == null) {
      return false;
    }

    myBuiltJars = new HashMap<>();
    try {
      for (JarInfo jar : sortedJars) {
        myContext.checkCanceled();
        buildJar(jar);
      }

      myContext.processMessage(new ProgressMessage(JpsBuildBundle.message("progress.message.copying.archives")));
      copyJars();
    }
    finally {
      deleteTemporaryJars();
    }


    return true;
  }
public boolean buildJars()