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 2016/02/07 11:51:39 UTC

[jira] [Reopened] (DOXIASITETOOLS-93) request-scoped default Velocity Tools are not accessible

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

Michael Osipov reopened DOXIASITETOOLS-93:
------------------------------------------

Hi Hervé,

I was quite certain how to make it work and the idea turned out to be correct. I did not make any further investigations why it failed actually because it could have cost me hours. The issue is that the default toolbox sets up the generic tools, the view tools and struts tools. I assume that it simply did not work out becuase they rely on Servlet API and it fails during processing. We needed to decouple it from a web container. This is what I did. Moreover, I have added our properties to make to make some of our manually added obsolete.

I have tested it with a public project (some of mine) known to be broken, reported years ago and closed the issue with Robert long ago. But you are right, I need to add a testcase in Site Renderer, plus I will create an issue for MSITE with an appropriate IT. If there is an IT I can extend, I am fine with that.



> request-scoped default Velocity Tools are not accessible
> --------------------------------------------------------
>
>                 Key: DOXIASITETOOLS-93
>                 URL: https://issues.apache.org/jira/browse/DOXIASITETOOLS-93
>             Project: Maven Doxia Sitetools
>          Issue Type: Bug
>          Components: Site renderer
>    Affects Versions: 1.6
>            Reporter: Hervé Boutemy
>            Assignee: Michael Osipov
>             Fix For: 1.7
>
>
> only application scoped are available: $esc, ...
> nut not $context, for example
> see http://svn.apache.org/viewvc/velocity/tools/tags/2.0/src/main/java/org/apache/velocity/tools/generic/tools.xml?view=markup



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)