This class is used to create 'assets' for an 'asset pipeline', similar to the asset pipeline implemented by Ruby on Rails. It does the following:
- Delete old assets from destination folder (public/assets).
- Create new asset subfolders, if necessary.
- Process image files: calculate MD5 hashes, fingerprint, move to public/assets/img
- Concatenate Javascript files, minimize, fingerprint and move to public/assets/js
- Concatenate css files, minimize, fingerprint and move to public/assets/css
- Write out assets.txt.
javac GenerateAssets.java
java GenerateAssets
Copyright © 2015 Mobalean LLC
Java 1.7