Giter Site home page Giter Site logo

yui-compressor-ant-task's People

Contributors

sbuckle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

yui-compressor-ant-task's Issues

Does not Minify Css

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:

No munge map

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.