wro4j-maven-plugin/src/main/java/ro/isdc/wro/maven/plugin/support/BuildContextHolder.java
public void persist() {
    OutputStream os = null;
    try {
      os = new FileOutputStream(fallbackStorageFile);
      fallbackStorage.store(os, "Generated");
      LOG.debug("fallback storage written to {}", fallbackStorageFile);
    } catch (final IOException e) {
      LOG.warn("Cannot persist fallback storage: {}.", fallbackStorageFile, e);
    } finally {
      IOUtils.closeQuietly(os);
    }
  }
public void persist() {
    OutputStream os = null;
    try {
      os = new FileOutputStream(fallbackStorageFile);
      fallbackStorage.store(os, "Generated");
      LOG.debug("fallback storage written to {}", fallbackStorageFile);
    } catch (final IOException e) {
      LOG.warn("Cannot persist fallback storage: {}.", fallbackStorageFile, e);
    } finally {
      IOUtils.closeQuietly(os);
    }
  }
public void persist ( ) { OutputStream os = null ; try { os = new FileOutputStream ( fallbackStorageFile ) ; fallbackStorage . store ( os , "Generated" ) ; LOG . debug ( "fallback storage written to {}" , fallbackStorageFile ) ; } catch ( final IOException e ) { LOG . warn ( "Cannot persist fallback storage: {}." , fallbackStorageFile , e ) ; } finally { IOUtils . closeQuietly ( os ) ; } }
Persist the fallbackStorage to the fallbackStorageFile. This method should be invoked only once during build, since
it is relatively expensive. Not invoking it, would break the incremental build feature.
Persist the fallbackStorage to the fallbackStorageFile . This method should be invoked only once during build since it is relatively expensive . Not invoking it would break the incremental build feature .