Is there any way to tell JCoverage to use the unit test resources? JCoverage worked fine until I added some tests which rely on properties files. Because these files are neither copied over to JCoverage's instrumented classes dir nor picked up in its classpath, these tests now fail. I tried to add an XDoclet-inspired bit to the maven.xml file to add the unit test source directory to the maven.jcoverage.instrumentation property value, but Maven complains that 'maven.jcoverage.instrumentation' is not defined.

maven.xml
=========
  <path id="source.dir" location="${maven.test.source}"/>
  <maven:addPath id="maven.jcoverage.instrumentation" refid="source.dir"/>

maven -EX output
================
Adding reference: source.dir ->
popping off [EMAIL PROTECTED] for [EMAIL PROTECTED] in com.sra:atgcommon
File...... /users/tibbettj/dev/atgcommon/maven.xml
Element... maven:addPath
Line...... 16
Column.... 75
cannot find the path to add to specified by 'id': maven.jcoverage.instrumentation

Any ideas?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to