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

Claude Brisson resolved VELOCITY-710.
-------------------------------------
       Resolution: Fixed
         Assignee: Claude Brisson
    Fix Version/s: 2.x

With the following configuration:

    velocimacro.library.autoreload=true
    file.resource.loader.cache=false

and when using the FileResourceLoader, the autoreload seems to work correclty.

See the MacroAutoReloadTestCase test case.


> property velocimacro.library.autoreload = on does not affect new macro 
> definitions
> ----------------------------------------------------------------------------------
>
>                 Key: VELOCITY-710
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-710
>             Project: Velocity
>          Issue Type: Bug
>          Components: Engine
>    Affects Versions: 1.7
>            Reporter: Byron Foster
>            Assignee: Claude Brisson
>             Fix For: 2.x
>
>
> With the following property setting 
> velocimacro.library.autoreload = on 
> A new macro definition within a velocimacro library is not registered without 
> a re-initializing Velocity.  However, modifying an existing macros does work.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to