maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Glick <andygl...@acm.org>
Subject Re: [report] java.io.FileNotFoundException: jcoverage.ser (The system cannot find...
Date Tue, 06 Sep 2005 23:12:32 GMT
Mick Knutson wrote:

... snip ...

> get\classes com\blackhawk\ff\ConsumerSearch\schemas\Emaƶ
> 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
> 
> java:jar-resources:
> 
> test:prepare-filesystem:
> 
> test:test-resources:
> 
> test:compile:
> 
> test:test:
> 
> jcoverage:html-report:
>    [report] java.io.FileNotFoundException: jcoverage.ser (The system
> cannot find the file specified)
>    [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)
>    [report] Exception in thread "main" 
> org.apache.commons.jelly.JellyTagException: C:\Documents and 
> Settings\mknut01\.maven\cache\maven-jcoverage-plugin-1.0.9\plugin.jelly:191:91: 
> 
> <report> org.apache.tools.ant.BuildException
> 
> BUILD FAILED
> File...... C:\Documents and
> Settings\mknut01\.maven\cache\maven-multiproject-plugin-1.4.1\plugin.jelly
> 
> Element... maven:reactor
> Line...... 104
> Column.... 9
> Unable to obtain goal [site] -- C:\Documents and
> Settings\mknut01\.maven\cache\maven-jcoverage-plugin-1.0.9\plugin.jelly:216:39: 
> 
> <ant:fail> org.a
> pache.commons.jelly.JellyTagException: C:\Documents and

Mick, from what I can see above, no tests are being executed so no jcoverage.ser file is being
created in ${basedir}. If even 1 test had executed I would expect to see some sort of junit
output. When the plugin goes to access the coverage data, which it expects to find in the
jcoverage.ser file, it throws a file not found exception, which seems like the proper behavior.

I imagine that you have test classes in your subproject, any idea why they aren't executing
during the jcoverage runs? If you issue the command "maven test", do they run?

Might you have the maven.test.skip property set to true in some properties file?

Hope that this helps


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message