Question

I hear about Haml as a templating engine mostly in the Ruby world. Can it also be used in Java projects?

Was it helpful?

Solution

There's a list of Haml implementations on the Wikipedia page. At the moment, there isn't one for Java.

Update

There has been a Java implementation for a few years now : https://github.com/raymyers/JHaml

OTHER TIPS

It seems someone started a project for Java.

Scalate can be integrated with Spring

Perhaps through JRuby?

planning to add HAML support in JPublish. It will use JRuby.

Use JRuby!
How to is in this answer.

HAML is dependent on Ruby. I know there is a Python clone of HAML, not sure about Java.

Although, SASS/Compass are language agnostic.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top