You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Henning Schmiedehausen (JIRA)" <de...@velocity.apache.org> on 2007/03/08 01:04:33 UTC

[jira] Closed: (VELOCITY-154) [PATCH] Relative resource loading for #include and #parse

     [ https://issues.apache.org/jira/browse/VELOCITY-154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henning Schmiedehausen closed VELOCITY-154.
-------------------------------------------


> [PATCH] Relative resource loading for #include and #parse
> ---------------------------------------------------------
>
>                 Key: VELOCITY-154
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-154
>             Project: Velocity
>          Issue Type: Improvement
>          Components: Engine
>    Affects Versions: 1.4
>         Environment: Operating System: All
> Platform: All
>            Reporter: Claude Brisson
>            Priority: Minor
>             Fix For: 1.5
>
>         Attachments: relative.patch
>
>
> This little patch allows one to do
>  
> #parse("foo.vm")
>  
> where foo.vm is located in the same directory as the template containing the 
> #parse directive.
>  
> It is independant from the resource loader (and shouldn't impact loaders that 
> don't use path) : the only modified files are Parse.java and Include.java.
>  
> CloD

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org