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 <[email protected]<mailto:[email protected]>>
Reply-To: Cross project issues 
<[email protected]<mailto:[email protected]>>
Date: Tuesday, 22 October, 2013 12:50 PM
To: Cross project issues 
<[email protected]<mailto:[email protected]>>
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:
https://vimeo.com/20734786

Sven

On Oct 22, 2013, at 3:50 PM, Doug Schaefer 
<[email protected]<mailto:[email protected]>> 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 <[email protected]<mailto:[email protected]>>
Reply-To: Cross project issues 
<[email protected]<mailto:[email protected]>>
Date: Tuesday, 22 October, 2013 2:43 AM
To: Cross project issues 
<[email protected]<mailto:[email protected]>>
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
[email protected]<mailto:[email protected]>https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev

_______________________________________________
cross-project-issues-dev mailing list
[email protected]<mailto:[email protected]>
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev

_______________________________________________
cross-project-issues-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev

Reply via email to