I must know anyone has ever attempted implementing scalatra + scalate + ssp based web application in cloudfoundry. If that's the case how did u handled to deoploy with precompiled templates. Please tell me for those who have any points or citations.

I've not used to cloudfoundry.

But we did write a precompiler wordpress plugin for sbt-.10. Well it isn't exactly a precompiler it is a source generator, we make use of this to deploy scalatra programs to EC2 and also the used war/jar does not have to compile the templates any longer.

https://github.com/mojolly/xsbt-scalate-generate

just in case the hyperlink does not work. The origin is on github. the github user is mojolly the project is xsbt-scalate-generate