Open GoogleCodeExporter opened 9 years ago
Original comment by alex.obj...@gmail.com
on 22 Aug 2011 at 1:46
Original comment by alex.obj...@gmail.com
on 22 Aug 2011 at 2:25
Original comment by alex.obj...@gmail.com
on 24 Aug 2011 at 8:52
Original comment by alex.obj...@gmail.com
on 25 Aug 2011 at 1:03
YUI Compressor also throws StackOverflowError when compressing CSS files with
much data URIs. Do you know any alternatives to YUI Compressor? I'm looking for
alternatives for my Maven plugin which converts image paths to data URIs in CSS
files.
Original comment by ovarak...@googlemail.com
on 12 Apr 2012 at 9:25
You can try CssMin or CssMinJawr processor as alternatives:
http://code.google.com/p/wro4j/wiki/AvailableProcessors
Original comment by alex.obj...@gmail.com
on 12 Apr 2012 at 9:28
Thanks Alex. I've found a lot of posts to StackOverflowError with data URIs.
E.g. this one http://yuilibrary.com/forum/viewtopic.php?p=26995
I don't like the internal code of YUI Compressor by the way. They match the
entire string buffer with compiled pattern and then there is this exception by
matcher.find().
Original comment by ovarak...@googlemail.com
on 12 Apr 2012 at 9:32
Alex, I haven't luck with YUI Compressor. The new fixed 2.4.7 version is not in
the Maven central repo. Can I reuse your class JawrCssMinifier.java (take code
from there)? With copyright of course. Is it free?
Thanks in advance.
Original comment by ovarak...@googlemail.com
on 12 Apr 2012 at 2:53
I can also include it as dependency. What should I include in order to be able
to use JawrCssMinifier? Only core?
<dependency>
<groupId>ro.isdc.wro4j</groupId>
<artifactId>wro4j-core</artifactId>
<version>1.4.5</version>
</dependency>
I don't need JawrCssMinifierProcessor.
Original comment by ovarak...@googlemail.com
on 12 Apr 2012 at 3:01
Of course you can reuse the class. Actually I borrowed it from jawr
library. The code is located in core.
Comment #9 on issue 278 by ovarak...@gmail.com: YuiCssCompressor throws
Stackoverflow exception
http://code.google.com/p/**wro4j/issues/detail?id=278<http://code.google.com/p/w
ro4j/issues/detail?id=278>
I can also include it as dependency. What should I include in order to be
able to use JawrCssMinifier? Only core?
<dependency>
<groupId>ro.isdc.wro4j</**groupId>
<artifactId>wro4j-core</**artifactId>
<version>1.4.5</version>
</dependency>
I don't need JawrCssMinifierProcessor.
Original comment by alex.obj...@gmail.com
on 12 Apr 2012 at 3:10
Many thanks! Do you know if compression ratio for JawrCssMinifier is comparable
with YUICompressor or YUICompressor compresses better CSS code?
Original comment by ovarak...@googlemail.com
on 12 Apr 2012 at 3:19
I don't have such metrics, but you can test it yourself for your particular
situation. I don't think the differrnces
Comment #11 on issue 278 by ovarak...@gmail.com: YuiCssCompressor throws
Stackoverflow exception
http://code.google.com/p/**wro4j/issues/detail?id=278<http://code.google.com/p/w
ro4j/issues/detail?id=278>
Many thanks! Do you know if compression ratio for JawrCssMinifier is
comparable with YUICompressor or YUICompressor compresses better CSS code?
Original comment by alex.obj...@gmail.com
on 12 Apr 2012 at 5:36
..pressed send button by mistake, without finishing the idea...
I don't think there are major differences, since css compressors cannot
obfuscate code. Also gzipping does a pretty good job anyway.
Comment #11 on issue 278 by ovarak...@gmail.com: YuiCssCompressor throws
Stackoverflow exception
http://code.google.com/p/**wro4j/issues/detail?id=278<http://code.google.com/p/w
ro4j/issues/detail?id=278>
Many thanks! Do you know if compression ratio for JawrCssMinifier is
comparable with YUICompressor or YUICompressor compresses better CSS code?
Original comment by alex.obj...@gmail.com
on 12 Apr 2012 at 5:40
Original issue reported on code.google.com by
alex.obj...@gmail.com
on 22 Aug 2011 at 1:44