Re: [FMPP] any way to flag files that where replacements occured ?
Brought to you by:
ddekany
|
From: Erich O. <er...@va...> - 2004-11-03 18:28:59
|
At this point just detecting the fact that a file was infact changed
(had interpolations) would be sufficient. At install time, I just want
to save off originals that have interpolations so that an install set
can be updated if there are parameter/variable changes. The actual
variable is a nice to have but not necessary now. With the exception of
this issue FMPP seems to meet all of my other requirements. If you
could point me in the right direction, I'd be more than happy to work on
a hack and send it back to you so that you can decide whether or not to
include it in your next version.
Daniel Dekany wrote:
>Thursday, October 28, 2004, 9:56:39 PM, Erich Oliphant wrote:
>
>
>
>>Hmm,
>>Yeah, I looked at the Freemarker Template class, nothing there to go
>>on. Is there somewhere in FMPP that we could perhaps compare the src
>>to the destination file?
>>
>>
>
>Do you want to detect if a variable is actually accessed during template
>execution, or simply you want to know if a file contains any
>interpolations (${...})? The latest can be find out from the Template
>object (it has an undocumented API for traversing the syntax tree).
>However, FMPP has no built-in hook that you could utilize. But of course
>it's open source so you can hack it... And, in mid november I hope to
>really finish something that I have to do nowadays, and then I will have
>time to continue my opens source activities, but until that do not
>expect any new FMPP features from me... in November we will see what
>features will be added, etc.
>
>
>
>>Daniel Dekany wrote:
>>
>>
>>
>>>Thursday, October 28, 2004, 7:33:48 PM, Erich Oliphant wrote:
>>>
>>>
>>>
>>>
>>>
>>>>Hi,
>>>>I am using FMPP as the basis of an installer for our system. I was
>>>>wondering if there's a way to find out (maybe via a callback?) which
>>>>files FreeMarker/FMPP actually performed replacements in, and as a bonus
>>>>which variables were replaced.
>>>>
>>>>
>>>>
>>>>
>>>No way... (At least yet...)
>>>
>>>
>
>
>____________________________________________________________________
>Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol.
>Probald ki most! http://www.freestart.hu
>
>
>-------------------------------------------------------
>This Newsletter Sponsored by: Macrovision
>For reliable Linux application installations, use the industry's leading
>setup authoring tool, InstallShield X. Learn more and evaluate
>today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/
>_______________________________________________
>fmpp-open mailing list
>fmp...@li...
>https://lists.sourceforge.net/lists/listinfo/fmpp-open
>
>
>
>
|