Actually, it does. When merging, you can pass in a macro file. template.merge(context, writer, "macro.vm");
2010/5/4 Nathan Bubna <nbu...@gmail.com> > That method doesn't exist, but patches are welcome. :) > > On Tue, May 4, 2010 at 1:26 AM, bluejoe2008 <bluejoe2...@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 <chadmichaelda...@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-unsubscr...@velocity.apache.org > >> For additional commands, e-mail: user-h...@velocity.apache.org > >> > >> > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: user-unsubscr...@velocity.apache.org > > For additional commands, e-mail: user-h...@velocity.apache.org > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@velocity.apache.org > For additional commands, e-mail: user-h...@velocity.apache.org > >