Chris | 10 Aug 2010 08:34
Picon
Favicon

Freemarker with YAML Files


Hello,

i'd like to use the freemarker tool in my RubyOnRails Application. 

In the App i have much YAML Files with Properties.

Is there any way to use them with freemarker (or the cli version fmpp) ?!?

I have used the fmpp tool in different projekt but only with properties
files.... and my google search give me no results to "yaml and freemarker"
:-)

Thank you very much for your help!!

lg
Chris
--

-- 
View this message in context: http://freemarker.624813.n4.nabble.com/Freemarker-with-YAML-Files-tp2319361p2319361.html
Sent from the fmpp-open mailing list archive at Nabble.com.

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
Daniel Dekany | 10 Aug 2010 09:25
Picon
Favicon

Re: Freemarker with YAML Files

I don't know anything concrete about this mater, but as far as I see,
some YAML libraries expose YAML as JavaBeans, in which case FreeMarker
marker can access them right now, and you don't need anything
YAML-specific.

If YAML is turned into some kind of YAML-specific nodes/entires (maybe
JvYAML does that, I don't know) instead, just like W3C DOM nodes are
wrapped, those could be too, but then someone needs to write the
wrapper first... (Yes, that was what you were looking for.)

Tuesday, August 10, 2010, 8:34:33 AM, Chris wrote:

>
> Hello,
>
> i'd like to use the freemarker tool in my RubyOnRails Application. 
>
> In the App i have much YAML Files with Properties.
>
> Is there any way to use them with freemarker (or the cli version fmpp) ?!?
>
> I have used the fmpp tool in different projekt but only with properties
> files.... and my google search give me no results to "yaml and freemarker"
> :-)
>
> Thank you very much for your help!!
>
> lg
> Chris

(Continue reading)


Gmane