You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2016/10/28 17:38:59 UTC

[jira] [Commented] (DOXIASITETOOLS-170) Improve error message when Velocity parsing error on template

    [ https://issues.apache.org/jira/browse/DOXIASITETOOLS-170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15616039#comment-15616039 ] 

Hudson commented on DOXIASITETOOLS-170:
---------------------------------------

FAILURE: Integrated in Jenkins build doxia-all #303 (See [https://builds.apache.org/job/doxia-all/303/])
[DOXIASITETOOLS-170] added skin jar file name to error message (hboutemy: [http://svn.apache.org/viewvc/?view=rev&rev=1767040])
* (edit) ./doxia-sitetools/doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/DefaultSiteRenderer.java
[DOXIASITETOOLS-170] improved exception message when Velocity (runtime) exceptions are catched (hboutemy: [http://svn.apache.org/viewvc/?view=rev&rev=1767034])
* (edit) ./doxia-sitetools/doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/DefaultSiteRenderer.java


> Improve error message when Velocity parsing error on template
> -------------------------------------------------------------
>
>                 Key: DOXIASITETOOLS-170
>                 URL: https://issues.apache.org/jira/browse/DOXIASITETOOLS-170
>             Project: Maven Doxia Sitetools
>          Issue Type: Bug
>          Components: Site renderer
>    Affects Versions: 1.7.2
>            Reporter: Hervé Boutemy
>            Assignee: Hervé Boutemy
>             Fix For: 1.7.3
>
>
> found in MSITE-786: when there is a Velocity parsing exception (due in this case by the upgrade form Velocity 1.5 to Velocity 1.7), the message is {{Could not find the site decoration template 'META-INF/maven/site.vm': Encountered  "1.0" at META-INF/maven/site.vm\[line 476, column 51\]}}
> The {{Could not find the site decoration template}} part is misleading: the template was found!



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