You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Claude Brisson (JIRA)" <ji...@apache.org> on 2016/07/18 10:32:20 UTC

[jira] [Resolved] (VELOCITY-710) property velocimacro.library.autoreload = on does not affect new macro definitions

     [ 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-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org