You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "pkernevez (JIRA)" <ji...@codehaus.org> on 2005/12/01 23:46:06 UTC

[jira] Commented: (MPDASHBOARD-34) Cobertura aggregator don't support offline mode

    [ http://jira.codehaus.org/browse/MPDASHBOARD-34?page=comments#action_52586 ] 

pkernevez commented on MPDASHBOARD-34:
--------------------------------------

See http://issues.apache.org/jira/browse/JELLY-224

> Cobertura aggregator don't support offline mode
> -----------------------------------------------
>
>          Key: MPDASHBOARD-34
>          URL: http://jira.codehaus.org/browse/MPDASHBOARD-34
>      Project: maven-dashboard-plugin
>         Type: Bug
>     Versions: 1.9
>     Reporter: pkernevez
>  Attachments: MPDASHBOARD-34.patch
>
>
> We I throw the goal "dashboard:report-single" I had an error if I am off line:
> BUILD FAILED
> File...... C:\maven\home\.maven\cache\maven-dashboard-plugin-1.9-SNAPSHOT\plugin.jelly
> Element... j:import
> Line...... 210
> Column.... -1
> file:/C:/maven/home/.maven/cache/maven-dashboard-plugin-1.9-SNAPSHOT/plugin-resources/aggregators/coberturaloc.jelly:32:
> -1: <x:parse> Error on line 2 of document : External entity not found: "http://cobertura.sourceforge.net/xml/coverage-0
> 2.dtd". Nested exception: External entity not found: "http://cobertura.sourceforge.net/xml/coverage-02.dtd".
> Total time : 2 seconds
> Finished at : Wednesday, November 30, 2005 6:25:22 PM CET
> This error is due to the DTD declaration into the file "target\docs\cobertura\coverage.xml":
> <!DOCTYPE coverage SYSTEM "http://cobertura.sourceforge.net/xml/coverage-02.dtd">
> If your remove this declaration the target dashboard:report-single succed in.
> This is because the plugin need to be on line to be able to download the dtd.
> I tried to change the aggretors' jelly script but the jelly attribute "validate" doesn't seems to perform:
> I replace the part:
>     <j:when test="${artifactAsFile.exists()}">
>       <x:parse var="doc" xml="${artifactAsFile}"/>
> 	  <x:expr select="count($doc/coverage/packages/package/classes/class/lines/line[@number>0])"/>
>     </j:when>
> with :
>     <j:when test="${artifactAsFile.exists()}">
>       <x:parse var="doc" xml="${artifactAsFile}" validate="false"/>
> 	  <x:expr select="count($doc/coverage/packages/package/classes/class/lines/line[@number>0])"/>
>     </j:when>
> But I don't resolve my issue

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org