public static void updateRepository(AsposeJavaComponent component, ProgressIndicator p) {
    p.setText2("Downloading " + component.get_name() + " examples ...");
    checkAndCreateFolder(getLocalRepositoryPath(component));

    try {

      updateRepository(getLocalRepositoryPath(component), component.get_remoteExamplesRepository());
      p.setFraction(0.3);
      // Added by [email protected] - Integration of Apache POI Examples / Other FrameWork
      // Examples
      OtherExamplesManager.updateOtherExamplesRepositories(component, p);
      // [email protected]
      p.setFraction(0.5);
    } catch (Exception e) {
    }
  }
 /**
  * @param component
  * @return
  */
 public static String getLocalRepositoryPath(AsposeJavaComponent component) {
   return AsposeComponentsManager.getAsposeHomePath()
       + "GitSampleRepos"
       + File.separator
       + component.get_name();
 }