sbuckle / yui-compressor-ant-task Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/yui-compressor-ant-task
License: Other
Automatically exported from code.google.com/p/yui-compressor-ant-task
License: Other
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 [email protected]
on 19 Jun 2014 at 9:09
What steps will reproduce the problem?
1. Try To minify css
What is the expected output? What do you see instead?
I expected to minify my css but instead I threw an Exception becaus it was
triying to parse javascript
What version of the product are you using? On what operating system?
I'm using the trunk version
Please provide any additional information below.
In my attachment I post a simple solution to this issue but It would be nice to
add a regexp to match css files
Original issue reported on code.google.com by [email protected]
on 23 May 2012 at 3:32
Attachments:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.