When root dir path and output path point directly to CSS directories (rather than directories containing both the CSS and images directories), the following exception will be thrown:
Exception in thread "main" java.lang.IllegalArgumentException: file must be contained in oldRoot
at org.carrot2.util.FileUtils.changeRoot(Unknown Source)
at org.carrot2.labs.smartsprites.SpriteImageBuilder.getImageFile(Unknown Source)
at org.carrot2.labs.smartsprites.SpriteImageBuilder.writeSprite(Unknown Source)
at org.carrot2.labs.smartsprites.SpriteImageBuilder.buildSpriteReplacements(Unknown Source)
at org.carrot2.labs.smartsprites.SpriteImageBuilder.buildSpriteImages(Unknown Source)
at org.carrot2.labs.smartsprites.SpriteBuilder.buildSprites(Unknown Source)
at org.carrot2.labs.smartsprites.SmartSprites.main(Unknown Source)