Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java CSS spriting library

Tags:

java

css

sprite

I'm looking for a pure Java CSS spriting library that I can integrate into my Maven build, so that spriting would be done automatically for every new build. (I'm currently using http://code.google.com/p/wro4j/ for JavaScript and CSS minimizing)

I was looking into http://csssprites.org/ first but the CSS annotation effort required somewhat put me off. Is there any other library out there I should be looking at?

like image 260
Stefan Haberl Avatar asked Nov 14 '22 15:11

Stefan Haberl


1 Answers

Although not 100% ideal, I went for SmartSprites in the end. There's a nice Jangaroo Maven Plugin, meaning you can integrate the Sprite generation into your Maven build process easily.

Downside of this solution is, that you have to add quite a bit of extra hints into your CSS files, so SmartSprites can do its spriting. Would have been nice, if SmartSprites would (semantically) parse the CSS files and do the spriting automatically.

like image 189
Stefan Haberl Avatar answered Dec 14 '22 22:12

Stefan Haberl