You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dennis Lundberg (JIRA)" <ji...@codehaus.org> on 2011/01/23 11:48:57 UTC
[jira] Commented: (MCHANGES-176) Make ConversionTool available in
the VelocityContext
[ http://jira.codehaus.org/browse/MCHANGES-176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=252500#action_252500 ]
Dennis Lundberg commented on MCHANGES-176:
------------------------------------------
Velocity Tools 2.0 require Java 5 and depends upon Velocity 1.6.2.
So this will have to wait at least until version 2.5 of the Changes Plugin.
> 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