So you see I try to concatenate/compress 4 CSS files. Everything seems
to work at first glance, and the compressed file is generated in the
configured cache directory.
BUT: It only contains the first CSS file, the other 3 are ignored.
The same problem exists for compressing about 10 JS files in the same
layout.
I don't see any obvious errors, and just don't see the error (which I
suppose is on my side).
Yeah - I’d strongly recommend moving these kind of tasks into an automated build process. Ant is OK as a starting point, but I’ve got to recommend Gradle. Much more powerful and maintainable, and almost as easy to get started with.
@Curt:
Thanks, that was it. Makes me feel like a first-day CFer
The docs in the wiki are wrong though, as they show it exactly the way
I did. I have put a comment there to correct it.
@the rest:
Thanks for an interesting read. I was playing with Ant and
minification, too. In that process I stumbled upon the JSmin plugin...