You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/03/31 00:33:53 UTC

[jira] Updated: (MPJCOVERAGE-6) coverage.xml contains invalid content when RMIC'd files are analyzed

The following issue has been updated:

    Updater: Mark Langley (mailto:mlangley@casebank.com)
       Date: Tue, 30 Mar 2004 5:32 PM
    Comment:
Patch implementing changes described in bug report is attached.
    Changes:
             Attachment changed to jcoverage-plugin-jelly-patch.txt
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPJCOVERAGE-6&page=history

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPJCOVERAGE-6

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJCOVERAGE-6
    Summary: coverage.xml contains invalid content when RMIC'd files are analyzed
       Type: Bug

     Status: Open
   Priority: Minor

 Original Estimate: 30 minutes
 Time Spent: Unknown
  Remaining: 30 minutes

    Project: maven-jcoverage-plugin
   Versions:
             1.0.3

   Assignee: Emmanuel Venisse
   Reporter: Mark Langley

    Created: Tue, 30 Mar 2004 5:31 PM
    Updated: Tue, 30 Mar 2004 5:32 PM
Environment: Windows XP, Maven 1.0-rc2, maven-jcoverage-plugin-1.0.3

Description:
My project uses RMIC in a javac:compile postGoal to create com.fubar.SomeClass_Stub from com.fubar.SomeClass. SomeClass_Stub has no source file, so the coverage.xml file contains:

  <class name="com.fubar.SomeClass_Stub">
    <file name="com/fubar/<Unknown>"/>
    ...

The embedded angle brackets are not valid XML, and cause an XmlPullParserException during jcoverage:html-report.

To correct this, I have modified plugin.jelly to run ant:replace, substituting "RMICSourceUnknown.java" for "<Unknown>" in coverage.xml.


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report 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