I actually have some staged changes in the value vector templates (where I
had already at least hard-wired the filename in that comment), where I'll
apply the change Jinfeng suggests. Someone else will have to do it to other
templates.


On Tue, Apr 28, 2015 at 11:36 AM, Jinfeng Ni <j...@apache.org> wrote:

> Seems we could use FreeMarker special variable to add the template name (or
> any other addition information) in the generated source code. See [1].
>
> Add the following line to the template will be sufficient for that purpose.
>
> // Source code generated using FreeMarker template ${.template_name}
>
>
> [1]. http://freemarker.org/docs/ref_specvar.html
>
>
> On Tue, Apr 28, 2015 at 8:52 AM, Ted Dunning <ted.dunn...@gmail.com>
> wrote:
>
> > On Tue, Apr 28, 2015 at 8:48 AM, Jacques Nadeau <jacq...@apache.org>
> > wrote:
> >
> > > >
> > > > >> At minimum, we need put the "template file name" in the comment
> > >
> > >
> > > I actually disagree with this.  I'm sure there is a programmatic way to
> > > solve this rather than trying to maintain this by hand in.
> > >
> >
> >
> > He didn't say he wanted to put the file name in by hand.
> >
> > Sounds like you agree about intent and only possibly disagree about
> method.
> >
>

Reply via email to