9 Apr 2013 11:31 PM #1
How to generate sprites by compass?
How to generate sprites using compass like this in Extjs 4.2 (Sencha Cmd 188.8.131.526)?
Images locates under "resources/images" in application and copied to build/production/resources during application build process but after that I got this error:
[INF] executing compass using system installed ruby runtime Errno::EINVAL on line ["38"] of C: Invalid argument - C:/www/influencing4/web/v42/build/Influencing/production/.sass-cache/a446d67f29cb0b97532ab6943548eaa1587f5329/*.pngc C:/bin/Sencha/Cmd/184.108.40.2066/extensions/sencha-compass/gems/gems/sass-3.1.7/lib/sass/cache_stores/filesystem.rb:38:in `open' C:/bin/Sencha/Cmd/220.127.116.116/extensions/sencha-compass/gems/gems/sass-3.1.7/lib/sass/cache_stores/filesystem.rb:38:in `_store'
20 Apr 2013 1:31 AM #2
I faced similar thing using SenchaCmd-18.104.22.1684.
There are no errors now and images are copied tobuild/production/resources
But there are no new sprites and styles for them.
15 May 2013 1:20 PM #3
I haven't started upgrading from 4.1 to 4.2 yet, but what happens if you try this?
@import "*.png"; @include all-icons-sprites;
15 May 2013 5:25 PM #4
I just tried this, same result. Looks like Compass config images_dir/images_path are not set correctly. image-url() is broken too:
[INF] executing compass using system installed ruby runtime WARNING: 'icon_save.png' was not found (or cannot be read) in C:/Users/alicexyl/my-workspace/packages/ri-theme/build/images/common
6 Sep 2013 4:53 AM #5
9 Sep 2013 1:55 PM #6