Richard Unger wrote: > Yes, the Vaadin compiler is limited. Unfortunately AFAIK there is no better > Java-based solution. > > If you want the full featured SASS compiler you will have to use Ruby or > JRuby, which I find an ugly solution if you are otherwise using pure java...
We currently use de.saumya.mojo:gem-maven-plugin in our Maven build. This plugin lets you add dependencies of type 'gem' to your pom.xml and that way we depend on the compass gem, which is run to do our SASS en Compass processing (you could also just depend on the sass gem if you don't use Compass). It's not ideal, because we have one Magnolia module per site and gem-maven-plugin installs the gems for every build of every module, which takes quite some time in our build. It does give us a reproducible build and doesn't require developers to install compass locally. We're looking at switching to sass-maven-plugin, which uses JRuby and also has compass support, but doesn't yet support using your own custom config.rb for compass (although https://github.com/Jasig/sass-maven-plugin/issues/51 has a pull request that might fix this). It would probably speed up our build considerably, since it doesn't need to install sass/compass at build time for every Maven module. Nils. ---------------------------------------------------------------- For list details, see http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
