davidB / yuicompressor-maven-plugin

maven's plugin to compress (Minify / Ofuscate / Aggregate) Javascript files and CSS files using YUI Compressor
http://davidb.github.io/yuicompressor-maven-plugin/
GNU Lesser General Public License v2.1
122 stars 48 forks source link

Compress Statistics are incorrect #9

Closed awhitford closed 14 years ago

awhitford commented 14 years ago

When I run my build, I am seeing messages like:

[INFO] window.css (1487b) -> window.css (1487b)[100%]
[INFO] borders.css (532b) -> borders.css (532b)[100%]
[INFO] box.css (1402b) -> box.css (1402b)[100%]

I know the css is being compressed -- but the original vs. new size are reported the same (and so the ratio is 100%).

davidB commented 14 years ago

I'll take a look. by example for box.css what is the size +location of the original and the result ?

davidB commented 14 years ago

no updates ?

adamcohenrose commented 13 years ago

I'm seeing exactly this issue when I set the nosuffix option to true. The plugin seems to be comparing the target files by name rather than comparing the source files to the target files...