her63 / yui-compressor-ant-task

Automatically exported from code.google.com/p/yui-compressor-ant-task
Other
0 stars 0 forks source link

No munge map #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Using the most recent version of YUI Compressor (2.4.8) at time of writing, I 
get a runtime NoSuchMethodError:

java.lang.NoSuchMethodError: 
com.yahoo.platform.yui.compressor.JavaScriptCompressor.compress(Ljava/io/Writer;
IZZZZ)V

After looking at the source of the task and YUI, I can see in the YUI history 
this change in June 2013

-    public void compress(Writer out, int linebreak, boolean munge, boolean 
verbose,

+        public void compress(Writer out, Writer mungemap, int linebreak, 
boolean munge, boolean verbose,

compress takes an additional Writer parameter. I'm not really sure what 
mungemap does, I'll probably try to get this working on my own, if I do I'll 
post the fix. 

Original issue reported on code.google.com by matt.ros...@gmail.com on 19 Jun 2014 at 9:09

GoogleCodeExporter commented 9 years ago
ok so quick fix is just to pass null, if we're not munging (still don't know 
what that is), then it doesn't seem to be necessary.

Original comment by matt.ros...@gmail.com on 19 Jun 2014 at 9:18