I have gone through the pains of getting this to work. I have to unsign the jars, and resign like you've done. Then you need to make sure the client you are running the webstart application has the cobertura.jar file in the lib directory of your JRE. Also make sure java is set to display the console so you can get better debug info. This can be changed from the control panel.
- Patrick
Message: 1
Date: Thu, 5 Nov 2009 13:25:37 -0500
From: "Chan-Aldebol, Carl" <
Carl.Chan-Aldebol@...>
Subject: [Cobertura-devel] Cobertura and Java Web Start
To: <
cobertura-devel@...>
Message-ID:
<
6AD91E4EBDFF734B9035AA1DCD0965E5066B541F@...>
Content-Type: text/plain; charset="US-ASCII"
Sorry if this question has been asked before...
I've got a Java Web Start application being interfacing and downloading
from a JBoss server. I'm trying to instrument it with Cobertura. I'm
having trouble getting the program to run after instrumentation.
I've managed to strip the manifests out of the client jars from the
JBoss deployment directory, run Cobertura-instrument on them, and resign
the jars to avoid getting "unsigned classes" errors, but the program
dies almost immediately after starting.
Has anyone had any success instrumenting JWS applications?
------------------------------
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.
http://p.sf.net/sfu/bobj-july------------------------------
_______________________________________________
Cobertura-devel mailing list
Cobertura-devel@...
https://lists.sourceforge.net/lists/listinfo/cobertura-develEnd of Cobertura-devel Digest, Vol 43, Issue 1
**********************************************
NOTICE: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.
http://p.sf.net/sfu/bobj-july_______________________________________________
Cobertura-devel mailing list
Cobertura-devel@...
https://lists.sourceforge.net/lists/listinfo/cobertura-devel