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 2003/09/08 14:25:10 UTC

[jira] Reopened: (MAVEN-795) jcovergae plugin doesnot seem to merge sourceDirectory and unitTestSourceDIrectory

Message:

   The following issue has been reopened.

   Reopener: Emmanuel Venisse
       Date: Mon, 8 Sep 2003 7:24 AM

Unit test source directory isn't necessary for jcoverage plugin. I think you have another problem.
---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-795


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-795
    Summary: jcovergae plugin doesnot seem to merge sourceDirectory and unitTestSourceDIrectory
       Type: Bug

     Status: Reopened
   Priority: Major

 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
   Fix Fors:
             1.0-rc1

   Assignee: 
   Reporter: gilles dodinet

    Created: Sun, 7 Sep 2003 10:14 AM
    Updated: Mon, 8 Sep 2003 7:24 AM
Environment: winxp, maven built yesterday from cvs head

Description:
when running jcoverage plugin (maven jcoverage) i end up with FileNotFoundException : <my basedir>/src/java/ProjectAggregatorTest.java.
After digging in the plugin, it seems that sourceDirectory and unitTestSourceDirectory should be merged (currently only sourceDirectory is passed to report, causing that exception. merging sourceDirectory and unitTestSourceDirectory in ${maven.jcoverage.sourceDirectory} and passing that directory to report seem to solve the issue. i hope im not missing something or a configuration thingy. attached is a patch.


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