velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Will Glass-Husain <wglasshus...@gmail.com>
Subject Re: Re: velocimacro.library options
Date Tue, 04 May 2010 14:52:40 GMT
Actually, it does.  When merging, you can pass in a macro file.

template.merge(context, writer, "macro.vm");

2010/5/4 Nathan Bubna <nbubna@gmail.com>

> That method doesn't exist, but patches are welcome. :)
>
> On Tue, May 4, 2010 at 1:26 AM, bluejoe2008 <bluejoe2008@gmail.com> wrote:
> > by the way, i ask a question: how to load velomacro library dynamically
> in my programs?
> > is there a method such as VelocityEngine.loadMacroLibrary("mymacro.vm")?
> >
> > 2010-05-04
> >
> >
> >
> > bluejoe2008
> >
> >
> >
> > 发件人: Nathan Bubna
> > 发送时间: 2010-05-01  03:44:09
> > 收件人: Velocity Users List
> > 抄送:
> > 主题: Re: velocimacro.library options
> >
> > You have to specify files.  Given the diversity of ResourceLoader
> > implementations, wildcards and directories are completely impossible
> > to support.
> > On Fri, Apr 30, 2010 at 11:29 AM, ChadDavis <chadmichaeldavis@gmail.com>
> wrote:
> >> What are the valid options for setting the locations of my libraries?
> >> Do I have to specify files?  Can I specify directories?  Can I use any
> >> wildcards, etc.
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> >> For additional commands, e-mail: user-help@velocity.apache.org
> >>
> >>
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> > For additional commands, e-mail: user-help@velocity.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> For additional commands, e-mail: user-help@velocity.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message