You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2023/03/30 19:37:00 UTC

[jira] [Moved] (MSKINS-223) Enable easier debugging of VM scripts by adding context to the context

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

Michael Osipov moved MSITE-563 to MSKINS-223:
---------------------------------------------

        Key: MSKINS-223  (was: MSITE-563)
    Project: Maven Skins  (was: Maven Site Plugin)

> Enable easier debugging of VM scripts by adding context to the context
> ----------------------------------------------------------------------
>
>                 Key: MSKINS-223
>                 URL: https://issues.apache.org/jira/browse/MSKINS-223
>             Project: Maven Skins
>          Issue Type: New Feature
>            Reporter: Sebb
>            Priority: Major
>
> 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
(v8.20.10#820010)