Hi Christian, apparently there is a problem on instrumenting 100+ files on Windows. The following comment was made on the jcoverage mailing list from one of the implementers:
"jcoverage/gpl v1.0.5. on windows does appear to suffer from this problem. Too many files are being supplied for the command line. I can offer one workaround: Split the instrumented classes into smaller blocks, and call <instrument> more than once. Not pretty, but it will work. I can offer one solution: Pick up a commercial evaluation from http://jcoverage.com/products/plus/evaluation.html, and you'll get the 'latest and greatest' version of jcoverage v1.1.22, which includes numerous fixes. AFAIK, it includes the 'command line too long' fix." Unfortunately, this workaround is not applicable for maven. Maybe it is. But it's definitely pain in the neck. Donwloading the evaluation version of their commercial product might do the trick as well. They will soon pull the sources for the commercial jcoverage distribution to the free one. Hope that helps. Dominik On Wed, 2003-09-24 at 09:55, Christian Goos wrote: > Good morning everybody, > > When using the jcoverage-plugin I always get an Exception as posted below. > Does anybody have an idea what might help? > > Christian > [instrument] [ERROR] java.io.IOException: CreateProcess: C:\Programme\ > j2sdk1.4.1_03\jre\bin\java.exe -classpath > C:\Programme\j2sdk1.4.1_03\lib\tools.j > ar;C:\Programme\maven\lib\commons-grant-1.0-beta-4.jar;C:\Programme\maven\li > b\an > t-1.5.3-1.jar;C:\Programme\maven\lib\endorsed\xml-apis-1.0.b2.jar;C:\Program > me\m > aven\lib\ant-optional-1.5.3-1.jar;C:\Programme\maven\lib\endorsed\xerces-2.4 > .0.j > ar;C:\Programme\maven\repository\xml-apis\jars\xml-apis-1.0.b2.jar;C:\Progra > mme\ > maven\repository\isorelax\jars\isorelax-20030108.jar;C:\Programme\maven\repo > sito > ry\xercesjarv\jars\xercesjarv-20020712-DG.jar;C:\Programme\maven\repository\ > xerc > es\jars\xerces-2.4.0.jar;C:\Programme\maven\repository\ant\jars\ant-1.5.3-1. > jar; > C:\Programme\maven\repository\jcoverage\jars\jcoverage-1.0.5.jar;C:\Programm > e\ma > ven\repository\junit\jars\junit-3.8.1.jar;C:\Programme\maven\repository\antl > r\ja > rs\antlr-2.7.2.jar;C:\Programme\maven\repository\clover\jars\clover-1.2.jar; > C:\P > rogramme\maven\repository\bcel\jars\bcel-5.1.jar;C:\Programme\maven\reposito > ry\u > rbanophile\jars\java-getopt-1.0.9.ja? > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
