Re: How does one analyse a FreeMarker template??

Tom Fennelly <[email protected]>
Newsgroups gmane.comp.web.freemarker.user
Message-ID <[email protected]>
Jonathan Revusky wrote:
> Well, I would encourage Tom to use the 2.4 preview that is available.
> That, after all, is why one uses a preview or beta version of
> software, isn't it? That the bleeding edge stuff has features that you
> need that are lacking in the stable version.
>
> In any case, one can continue to use 2.3.15 in production to render
> templates, but use the 2.4 for the software that analyzes templates,
> no?
>   

Hi Jonathan.

As it turns out, we will actually need the ability to analyse FreeMarker 
templates in production.

A little context.... we (JBoss) are building Eclipse data mapping tools 
(as part of JBoss Tools), whereby a user selects a target message model 
(XSD, CSV, EDI etc schemas) and is able to use the tooling to map data 
onto a representation of the selected model.  To cut a long story 
short... the plan is to have the eclipse tooling generate FreeMarker 
templates based on the chosen model + the mappings.  The generated 
templates will be used by the runtime transformation engine (Smooks).  
So, the eclipse tooling needs to be able to read existing FreeMarker 
templates and work out what data is being "mapped" into them.  Hope that 
20,000ft explanation makes sense :)

So, I'd be more than happy to use the preview if the timelines I'm 
working against matched up.  I really need something working by early 
Dec and it sounds as though FM 2.4 is not that close to being released, 
right?

T.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.