[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
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.

Thanks!
Doug.

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:

Sven

On Oct 22, 2013, at 3:50 PM, Doug Schaefer <dschaefer@xxxxxxx> wrote:

Xtend is a Java language extension, no? I'm talking about a template engine that we use in the new project wizard to instantiate code templates based on various user selectable options.

I was originally thinking of Jet, but I can't seem to find it anymore. Whatever happened to it?

Doug.

From: Henrik Rentz-Reichert <hrr@xxxxxxxxx>
Reply-To: Cross project issues <cross-project-issues-dev@xxxxxxxxxxx>
Date: Tuesday, 22 October, 2013 2:43 AM
To: Cross project issues <cross-project-issues-dev@xxxxxxxxxxx>
Subject: Re: [cross-project-issues-dev] Freemarker

Doug,

have you considered using Xtend?

-Henrik

Am 21.10.2013 21:47, schrieb Doug Schaefer:
Has anyone tried to get Freemarker into Orbit? Or is there a better template engine that people are using. CDT has it's own but I'd like to use something more standard (and better).

Thanks,
Doug.



_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@xxxxxxxxxxxhttps://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev

_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev