|Re: [cross-project-issues-dev] Freemarker|
Well, I'm running the resultant generated code through the code formatter so spacing isn't as big an issue for me.
Having an easy API does matter, especially ones that can pull the template out of the bundle without resorting to the FileLocator. I have a dead simple template engine now that just does variable substitution. I'll take a look at Xtend and see if it meets our needs.
From: Sven Efftinge <sven.efftinge@xxxxxxxxx>
Reply-To: Cross project issues <cross-project-issues-dev@xxxxxxxxxxx>
Date: Tuesday, 22 October, 2013 12:50 PM
To: Cross project issues <cross-project-issues-dev@xxxxxxxxxxx>
Subject: Re: [cross-project-issues-dev] Freemarker
Yes, it is sort of a Java extension. For instance it extends Java with support for template string concatenation ;-)
The advantage of Xtend over Freemarker and the like is that it is statically typed and has very good tool support.
In addition it sports smart whitespace handling.
I've recorded a screencast some time ago, demoing the template support:
On Oct 22, 2013, at 3:50 PM, Doug Schaefer <dschaefer@xxxxxxx> wrote: