velocity-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Will Glass-Husain (JIRA)" <>
Subject [jira] Updated: (VELOCITY-362) can't load macros in file loaded with #parse
Date Wed, 04 Jan 2006 05:54:01 GMT
     [ ]

Will Glass-Husain updated VELOCITY-362:

    Bugzilla Id:   (was: 33750)
    Fix Version: 1.6
                     (was: 1.5)

This is trickier than it seems.  See my thoughts at
Moving to v1.6

> can't load macros in file loaded with #parse
> --------------------------------------------
>          Key: VELOCITY-362
>          URL:
>      Project: Velocity
>         Type: Bug
>   Components: Source
>     Versions: 1.4
>  Environment: Operating System: All
> Platform: All
>     Reporter: whxbb
>     Priority: Minor
>      Fix For: 1.6

> I think this is a big bug. I've used velocity in my projects, erveything is ok
> but this. i want to know it's this problem will be resolved in next version? if
> it's not, i have to abandon velocity.
> the bug is :
> from doc:
>  This is important to remember if you try to #parse() a template containing
> inline #macro() directives. Because the #parse() happens at runtime, and the
> parser decides if a VM-looking element in the template is a VM at parsetime,
> #parse()-ing a set of VM declarations won't work as expected. To get around
> this, simply use the velocimacro.library  facility to have Velocity load your
> VMs at startup.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message