You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Vincent Siveton (JIRA)" <ji...@codehaus.org> on 2007/08/09 14:30:13 UTC

[jira] Created: (DOXIA-147) Reviewed velocity warning

Reviewed velocity warning
-------------------------

                 Key: DOXIA-147
                 URL: http://jira.codehaus.org/browse/DOXIA-147
             Project: Maven Doxia
          Issue Type: Improvement
    Affects Versions: 1.0-alpha-9
            Reporter: Vincent Siveton
             Fix For: 1.0-alpha-9


The Velocity component configuration added with DOXIA-128 produces now lot of warnings, ie

[WARNING] Velocimacro : VM addition rejected : displayTree : inline not allowed to replace existing VM
[WARNING] Failed to add macro: #displayTree(  display item ) : source = default-site.vm

-- 
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-147) Reviewed velocity warning

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

Dennis Lundberg commented on DOXIA-147:
---------------------------------------

I tried doxia with the configuration set appropriately in the components.xml that is in doxia. That didn't work. So I added the configuration to plexus-velocity and made doxia use plexus-velocity-1.1.7-SNAPSHOT and that worked. So I guess, at least for this property, configuration outside of plexus-velocity doesn't work. That could be because the property was added to velocity 1.5?

> Reviewed velocity warning
> -------------------------
>
>                 Key: DOXIA-147
>                 URL: http://jira.codehaus.org/browse/DOXIA-147
>             Project: Maven Doxia
>          Issue Type: Improvement
>    Affects Versions: 1.0-alpha-9
>            Reporter: Vincent Siveton
>            Assignee: Dennis Lundberg
>             Fix For: 1.0-alpha-9
>
>
> The Velocity component configuration added with DOXIA-128 produces now lot of warnings, ie
> [WARNING] Velocimacro : VM addition rejected : displayTree : inline not allowed to replace existing VM
> [WARNING] Failed to add macro: #displayTree(  display item ) : source = default-site.vm

-- 
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-147) Reviewed velocity warning

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

Dennis Lundberg commented on DOXIA-147:
---------------------------------------

Thanks Vincent. What is the purpose of the role-hint? Do we select which configuration to use somewhere, or is it handled by some plexus magic?

> Reviewed velocity warning
> -------------------------
>
>                 Key: DOXIA-147
>                 URL: http://jira.codehaus.org/browse/DOXIA-147
>             Project: Maven Doxia
>          Issue Type: Improvement
>    Affects Versions: 1.0-alpha-9
>            Reporter: Vincent Siveton
>            Assignee: Vincent Siveton
>             Fix For: 1.0-alpha-9
>
>
> The Velocity component configuration added with DOXIA-128 produces now lot of warnings, ie
> [WARNING] Velocimacro : VM addition rejected : displayTree : inline not allowed to replace existing VM
> [WARNING] Failed to add macro: #displayTree(  display item ) : source = default-site.vm

-- 
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-147) Reviewed velocity warning

Posted by "Vincent Siveton (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/DOXIA-147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_104605 ] 

Vincent Siveton commented on DOXIA-147:
---------------------------------------

It should be (see Trygve's comment in PLX-345)
Or maybe, do we need to reopen PLX-345?

> Reviewed velocity warning
> -------------------------
>
>                 Key: DOXIA-147
>                 URL: http://jira.codehaus.org/browse/DOXIA-147
>             Project: Maven Doxia
>          Issue Type: Improvement
>    Affects Versions: 1.0-alpha-9
>            Reporter: Vincent Siveton
>            Assignee: Dennis Lundberg
>             Fix For: 1.0-alpha-9
>
>
> The Velocity component configuration added with DOXIA-128 produces now lot of warnings, ie
> [WARNING] Velocimacro : VM addition rejected : displayTree : inline not allowed to replace existing VM
> [WARNING] Failed to add macro: #displayTree(  display item ) : source = default-site.vm

-- 
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] Closed: (DOXIA-147) Reviewed velocity warning

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

Vincent Siveton closed DOXIA-147.
---------------------------------

      Assignee: Vincent Siveton  (was: Dennis Lundberg)
    Resolution: Fixed

fixed in r565224 by adding a role-hint called doxia-default for VelocityComponent

> Reviewed velocity warning
> -------------------------
>
>                 Key: DOXIA-147
>                 URL: http://jira.codehaus.org/browse/DOXIA-147
>             Project: Maven Doxia
>          Issue Type: Improvement
>    Affects Versions: 1.0-alpha-9
>            Reporter: Vincent Siveton
>            Assignee: Vincent Siveton
>             Fix For: 1.0-alpha-9
>
>
> The Velocity component configuration added with DOXIA-128 produces now lot of warnings, ie
> [WARNING] Velocimacro : VM addition rejected : displayTree : inline not allowed to replace existing VM
> [WARNING] Failed to add macro: #displayTree(  display item ) : source = default-site.vm

-- 
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-147) Reviewed velocity warning

Posted by "Vincent Siveton (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/DOXIA-147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_104687 ] 

Vincent Siveton commented on DOXIA-147:
---------------------------------------

The configuration outside plexus-velocity works, we need to use an other role-hint name.
FYI, this property exists since 1.0.

> Reviewed velocity warning
> -------------------------
>
>                 Key: DOXIA-147
>                 URL: http://jira.codehaus.org/browse/DOXIA-147
>             Project: Maven Doxia
>          Issue Type: Improvement
>    Affects Versions: 1.0-alpha-9
>            Reporter: Vincent Siveton
>            Assignee: Dennis Lundberg
>             Fix For: 1.0-alpha-9
>
>
> The Velocity component configuration added with DOXIA-128 produces now lot of warnings, ie
> [WARNING] Velocimacro : VM addition rejected : displayTree : inline not allowed to replace existing VM
> [WARNING] Failed to add macro: #displayTree(  display item ) : source = default-site.vm

-- 
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-147) Reviewed velocity warning

Posted by "Vincent Siveton (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/DOXIA-147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_104771 ] 

Vincent Siveton commented on DOXIA-147:
---------------------------------------

Shortly, Plexus look up the role-hint that you want. 
http://plexus.codehaus.org/guides/developer-guide/configuration/component-descriptor.html

> Reviewed velocity warning
> -------------------------
>
>                 Key: DOXIA-147
>                 URL: http://jira.codehaus.org/browse/DOXIA-147
>             Project: Maven Doxia
>          Issue Type: Improvement
>    Affects Versions: 1.0-alpha-9
>            Reporter: Vincent Siveton
>            Assignee: Vincent Siveton
>             Fix For: 1.0-alpha-9
>
>
> The Velocity component configuration added with DOXIA-128 produces now lot of warnings, ie
> [WARNING] Velocimacro : VM addition rejected : displayTree : inline not allowed to replace existing VM
> [WARNING] Failed to add macro: #displayTree(  display item ) : source = default-site.vm

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