You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Henning Schmiedehausen (JIRA)" <ji...@codehaus.org> on 2006/12/24 14:02:20 UTC

[jira] Created: (DOXIA-82) Doxia default site renderer redefines local macros over and over again

Doxia default site renderer redefines local macros over and over again
----------------------------------------------------------------------

                 Key: DOXIA-82
                 URL: http://jira.codehaus.org/browse/DOXIA-82
             Project: doxia
          Issue Type: Bug
            Reporter: Henning Schmiedehausen


The Doxia default site renderer uses Apache Velocity to render its pages. Every time a page is rendered, Doxia tries to define Velocity Macros but the Plexus Velocity component sets the replacement of Velocity Macro to false (the default). 

In Velocity Version 1.4, these error messages are silently discarded. In newer Versions (1.5 beta 2 and beyond), these messages are logged out and appear to be errors.

-- 
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

        

[jira] Updated: (DOXIA-82) Doxia default site renderer redefines local macros over and over again

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/DOXIA-82?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated DOXIA-82:
------------------------------

    Fix Version/s: 1.0

> Doxia default site renderer redefines local macros over and over again
> ----------------------------------------------------------------------
>
>                 Key: DOXIA-82
>                 URL: http://jira.codehaus.org/browse/DOXIA-82
>             Project: doxia
>          Issue Type: Bug
>            Reporter: Henning Schmiedehausen
>             Fix For: 1.0
>
>
> The Doxia default site renderer uses Apache Velocity to render its pages. Every time a page is rendered, Doxia tries to define Velocity Macros but the Plexus Velocity component sets the replacement of Velocity Macro to false (the default). 
> In Velocity Version 1.4, these error messages are silently discarded. In newer Versions (1.5 beta 2 and beyond), these messages are logged out and appear to be errors.

-- 
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

        

[jira] Moved: (DOXIASITETOOLS-2) Doxia default site renderer redefines local macros over and over again

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/DOXIASITETOOLS-2?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg moved DOXIA-82 to DOXIASITETOOLS-2:
---------------------------------------------------

    Fix Version/s:     (was: 1.0)
      Component/s:     (was: Site Renderer)
                   Site renderer
              Key: DOXIASITETOOLS-2  (was: DOXIA-82)
          Project: Maven Doxia Site Tools  (was: Maven Doxia)

> Doxia default site renderer redefines local macros over and over again
> ----------------------------------------------------------------------
>
>                 Key: DOXIASITETOOLS-2
>                 URL: http://jira.codehaus.org/browse/DOXIASITETOOLS-2
>             Project: Maven Doxia Site Tools
>          Issue Type: Bug
>          Components: Site renderer
>            Reporter: Henning Schmiedehausen
>
> The Doxia default site renderer uses Apache Velocity to render its pages. Every time a page is rendered, Doxia tries to define Velocity Macros but the Plexus Velocity component sets the replacement of Velocity Macro to false (the default). 
> In Velocity Version 1.4, these error messages are silently discarded. In newer Versions (1.5 beta 2 and beyond), these messages are logged out and appear to be errors.

-- 
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

        

[jira] Updated: (DOXIASITETOOLS-2) Doxia default site renderer redefines local macros over and over again

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/DOXIASITETOOLS-2?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg updated DOXIASITETOOLS-2:
-----------------------------------------

    Fix Version/s: 1.0

> Doxia default site renderer redefines local macros over and over again
> ----------------------------------------------------------------------
>
>                 Key: DOXIASITETOOLS-2
>                 URL: http://jira.codehaus.org/browse/DOXIASITETOOLS-2
>             Project: Maven Doxia Site Tools
>          Issue Type: Bug
>          Components: Site renderer
>            Reporter: Henning Schmiedehausen
>             Fix For: 1.0
>
>
> The Doxia default site renderer uses Apache Velocity to render its pages. Every time a page is rendered, Doxia tries to define Velocity Macros but the Plexus Velocity component sets the replacement of Velocity Macro to false (the default). 
> In Velocity Version 1.4, these error messages are silently discarded. In newer Versions (1.5 beta 2 and beyond), these messages are logged out and appear to be errors.

-- 
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

        

[jira] Updated: (DOXIASITETOOLS-2) Doxia default site renderer redefines local macros over and over again

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/DOXIASITETOOLS-2?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukas Theussl updated DOXIASITETOOLS-2:
---------------------------------------

    Fix Version/s:     (was: 1.3)

> Doxia default site renderer redefines local macros over and over again
> ----------------------------------------------------------------------
>
>                 Key: DOXIASITETOOLS-2
>                 URL: http://jira.codehaus.org/browse/DOXIASITETOOLS-2
>             Project: Maven Doxia Sitetools
>          Issue Type: Bug
>          Components: Site renderer
>            Reporter: Henning Schmiedehausen
>
> The Doxia default site renderer uses Apache Velocity to render its pages. Every time a page is rendered, Doxia tries to define Velocity Macros but the Plexus Velocity component sets the replacement of Velocity Macro to false (the default). 
> In Velocity Version 1.4, these error messages are silently discarded. In newer Versions (1.5 beta 2 and beyond), these messages are logged out and appear to be errors.

-- 
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

        

[jira] Commented: (DOXIA-82) Doxia default site renderer redefines local macros over and over again

Posted by "Henning Schmiedehausen (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/DOXIA-82?page=comments#action_83352 ] 
            
Henning Schmiedehausen commented on DOXIA-82:
---------------------------------------------

The default for logging messages from the VelociMacros will be changing in Velocity 1.5

Either you must set "velocimacro.messages.on  = false" in the defaults of the Plexus Velocity component.

It would be much better if the Doxia Renderer splits the VelociMacros into its own macro library and a skin template. Then you would declare the macro file to be a macro library. 

However, this again would need changes to the plexus velocity component (which is a bad idea anyway as it is as a singleton very inflexible and the usage of Velocity in different parts of Maven and Doxia interferes with each other (e.g. in the availability of macros). Either Plexus should declare a Factory that returns VelocityEngine instances that can be configured by e.g. Doxia) or you should not use any Plexus component here but build the Velocity engine yourself.

> Doxia default site renderer redefines local macros over and over again
> ----------------------------------------------------------------------
>
>                 Key: DOXIA-82
>                 URL: http://jira.codehaus.org/browse/DOXIA-82
>             Project: doxia
>          Issue Type: Bug
>            Reporter: Henning Schmiedehausen
>
> The Doxia default site renderer uses Apache Velocity to render its pages. Every time a page is rendered, Doxia tries to define Velocity Macros but the Plexus Velocity component sets the replacement of Velocity Macro to false (the default). 
> In Velocity Version 1.4, these error messages are silently discarded. In newer Versions (1.5 beta 2 and beyond), these messages are logged out and appear to be errors.

-- 
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