[ https://jira.codehaus.org/browse/MSITE-563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=359505#comment-359505 ]
Michael Osipov commented on MSITE-563: -------------------------------------- Please provide a patch! > Enable easier debugging of VM scripts by adding context to the context > ---------------------------------------------------------------------- > > Key: MSITE-563 > URL: https://jira.codehaus.org/browse/MSITE-563 > Project: Maven Site Plugin > Issue Type: New Feature > Reporter: SebbASF > Labels: close-pending > > Sometimes it would be useful to display all the variables that are set in the > context of a VM template. > The suggestion is to optionally add the context to itself. > For example, if the following property is defined: > -Dvelocity.context.variable=ctx > then define the variable "ctx" to contain the current context pointer. > It would be best if this were available as a command-line option (as well as > a config option). -- This message was sent by Atlassian JIRA (v6.1.6#6162)