From: Mick F. <mic...@li...> - 2005-06-29 14:07:44
|
Sorry if this is a dumb question, but how can I get cobertura to work with a JApplet? It just doesn't seem to write to the cobertura.ser file. I've done the following: 1) Added: -Dnet.sourceforge.cobertura.datafile=C:/cobertura.ser to the java runtime params in the plugin control panel, and checked that System.getProperty("net.sourceforge.cobertura.datafile") agrees. 2) The Applet is in a signed jar along with all the other classes that are required. If I add a "public static main(String[] args) {...}" method, and run this from the command line, the cobertura.ser file is accessed as it should be. The Applet is able to create and write to files as part of its functionality, so this isn't the issue. 3) I've searched all my drives for cobertura.ser files, and there are no others. Any help very gratefully received! Thanks, Mick. This message has been scanned for viruses by MailController - www.MailController.altohiway.com |