The following comment has been added to this issue:

     Author: Havard Bjastad
    Created: Mon, 6 Dec 2004 7:07 AM
       Body:
Your explanation sounds reasonable, however here is the output:

test:test:
    [junit] Running com.tracetracker.gtn.service.ServiceInterfaceTester
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.398 sec

jcoverage:html-report:
    [echo] Copying 2 source directories into one for jcoverage
jcoverage 1.0.5 copyright (c)2003 jcoverage ltd. http://jcoverage.com/
jcoverage is licensed under the GNU General Public License
jcoverage comes with ABSOLUTELY NO WARRANTY
Generate report for 
/home/havard/workspace/HEAD/gtn-common-interface-java/target/jcoverage/coverage.xml
 file.
OutputDir = 
/home/havard/workspace/HEAD/gtn-common-interface-java/target/docs/jcoverage
java.io.FileNotFoundException: 
/home/havard/workspace/HEAD/gtn-common-interface-java/target/docs/jcoverage/com/tracetracker/gtn/service/package-frame.html
 (No such file or directory)


As you can see, the two tests seem to have been run successfully. I have tried 
running 'maven -X jcoverage' , but it made me no wiser. Do you have any 
suggestions for how to proceed?
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPJCOVERAGE-21?page=comments#action_27539

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

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJCOVERAGE-21
    Summary: Exception in thread "main" java.io.FileNotFoundException: 
jcoverage.ser (No such file or directory)
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-jcoverage-plugin
   Versions:
             1.0.7

   Assignee: Emmanuel Venisse
   Reporter: H�vard Bj�stad

    Created: Fri, 3 Dec 2004 7:17 PM
    Updated: Mon, 6 Dec 2004 7:07 AM

Description:
We have several projects that run fine, but with two of our projects we get the 
following output:

jcoverage:html-report:
    [echo] Copying 2 source directories into one for jcoverage
jcoverage 1.0.5 copyright (c)2003 jcoverage ltd. http://jcoverage.com/
jcoverage is licensed under the GNU General Public License
jcoverage comes with ABSOLUTELY NO WARRANTY
    [report] Exception in thread "main" java.io.FileNotFoundException: 
jcoverage.ser (No such file or directory)
    [report]    at java.io.FileInputStream.open(Native Method)
    [report]    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    [report]    at com.jcoverage.coverage.reporting.xml.Main.main(Main.java:106)
org.apache.commons.jelly.JellyTagException: 
/home/havard/.maven/cache/maven-jcoverage-plugin-1.0.7/plugin.jelly:193:91: 
<report> org.apache.tools.ant.BuildException

Maybe the problem is that these projects have two source directories, and 
jcoverage can't handle that?


---------------------------------------------------------------------
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to