maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DOXIASITETOOLS-170) Improve error message when Velocity parsing error on template
Date Sun, 30 Oct 2016 15:33:58 GMT

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

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

SUCCESS: Integrated in Jenkins build doxia-all #304 (See [https://builds.apache.org/job/doxia-all/304/])
[DOXIASITETOOLS-170] use skin artifact instead of File to improve error messages (hboutemy:
[http://svn.apache.org/viewvc/?view=rev&rev=1767162])
* (edit) ./doxia-sitetools/doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/DefaultSiteRenderer.java
* (edit) ./doxia-sitetools/doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/Renderer.java
* (edit) ./doxia-sitetools/doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/SiteRenderingContext.java
* (edit) ./doxia-sitetools/doxia-site-renderer/src/test/java/org/apache/maven/doxia/siterenderer/DefaultSiteRendererTest.java
* (edit) ./doxia-sitetools/pom.xml


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

Mime
View raw message