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/06/18 00:05:17 UTC

[jira] Commented: (MPJCOVERAGE-10) Output directory is wrong

The following comment has been added to this issue:

     Author: Paul Spencer
    Created: Thu, 17 Jun 2004 6:04 PM
       Body:
While working with my 1.0.4 version of the plugin, I ended up making the following changed:

1) Defining maven.jcoverage.destdir in plugin.properties to define the destination of the generated web pages. 

2) Setting the target attribute to "_blank" when registering the report in plugin.jelly for the goal maven-jcoverage-plugin:register. This is consistent with other link that do not display the maven navigation bar.

3) Creating the output directory, as defined by ${maven.jcoverage.destdir}, in plugin.jelly for the goal jcoverage:on

4) Outputing the report to ${maven.jcoverage.destdir}, in plugin.jelly for the goal jcoverage:html-report

I will attach my updated files to this issue

---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPJCOVERAGE-10?page=comments#action_20782

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPJCOVERAGE-10

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJCOVERAGE-10
    Summary: Output directory is wrong
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-jcoverage-plugin
   Versions:
             1.0.3
             1.0.4

   Assignee: Emmanuel Venisse
   Reporter: Paul Spencer

    Created: Thu, 17 Jun 2004 4:54 PM
    Updated: Thu, 17 Jun 2004 6:04 PM

Description:
The output directory used by jcoverage is incorrectly set.  In my case the output is place in the maven plugin directory.

The root cause is the use of ${maven.coverage.dir} instead of "${maven.jcoverage.dir} in plugin.jelly.  Notice the "j" before coverage is missing.

In 1.0.3 this "bug" occures in 2 goals, jcoverage:on and jcoverage:html-report



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