Make ConversionTool available in the VelocityContext
----------------------------------------------------

                 Key: MCHANGES-176
                 URL: http://jira.codehaus.org/browse/MCHANGES-176
             Project: Maven 2.x Changes Plugin
          Issue Type: Improvement
          Components: announcement
    Affects Versions: 2.1
            Reporter: Antonin Stefanutti


It would be very useful to have access to an instance of ConversionTool in the 
Velocity templace so that one can convert String to List for example.

See : 
http://velocity.apache.org/tools/devel/javadoc/org/apache/velocity/tools/generic/ConversionTool.html

In my special case, I want to pass a list of packages as a comma-separated 
String in the announceParameters as configuration of the changes plugin and 
convert this comma-separated String as a List in the Velocity template to 
iterate over to send e-mails containing the packages I deployed in addition to 
the changes report.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to