Closed wjessop closed 11 years ago
Bumping this because it is important to the usability of the tool. I cannot see a downside.
+1 A few times now we've had difficulty pinpointing a "compression failed" error in our build, when the application runs fine in our development environment. Sometimes YUI blows up on valid javascript. We need a line number and preferably a specific error message.
Unfortunately, it does not look like this project is maintained anymore. Guess it's time to start a fork?
+1 this is a must have!
+1
+1 This is gonna be really useful.
So, no good news about this topic, I guess...
+1 ....
I added a commit that adds better error messages for both linux and windows: https://github.com/sstephenson/ruby-yui-compressor/commit/fbb45bf2380b6b32d0d2933a3fe1524b3aad983c
It should help out a lot for problems like a missing java binary. Other issues like actual compression failure are a little trickier, but yuicompressor itself should now be sending its own errors to the parent process' error stream.
"compression failed" with no further information isn't very useful for fixing.