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/04/28 21:28:06 UTC
[jira] Commented: (MPJCOVERAGE-1) jcoverage fails when compile.src.set != pom.build.sourceDirectory
The following comment has been added to this issue:
Author: Matthias Kerkhoff
Created: Wed, 28 Apr 2004 3:26 PM
Body:
We have stumbled into a related issue. Our project structure is
like this:
root/
project
project.xml
maven.xml
src
java
target
test
We are not able to use the jcoverage report. The problem
seems to be that we have changed our maven.junit.dir to
target/test and (at least) the jcoverage report seems to
be unable to handle such scenarios.
During jcoverage:report the plugin tries to access a file
root/project/jcoverage.ser. This file does not exist there.
It is actually present target/jcoverage.
Shall I open a separate issue on that?
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPJCOVERAGE-1&page=comments#action_19178
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPJCOVERAGE-1
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPJCOVERAGE-1
Summary: jcoverage fails when compile.src.set != pom.build.sourceDirectory
Type: Bug
Status: Open
Priority: Critical
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-jcoverage-plugin
Assignee: Brett Porter
Reporter: Brett Porter
Created: Tue, 11 Nov 2003 9:43 PM
Updated: Wed, 28 Apr 2004 3:26 PM
Description:
java.io.FileNotFoundException: /home/tplbuild/cruisecontrol/checkout/tr3/java/retriever/target/docs/jcoverage/au/com/tradingroom/retriever/capitaladjustment/package-frame.html (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
I believe this occurs because the capitaladjustment package has its source in target/jaxb (generated code).
Possibly the best (only?) solution in the plugin is to use the compile.src.set path instead of the source directory, if jcoverage supports it.
---------------------------------------------------------------------
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