From: SourceForge.net <no...@so...> - 2008-07-28 12:22:30
|
Feature Requests item #2030120, was opened at 2008-07-28 04:01 Message generated for change (Comment added) made by lewijw You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=720018&aid=2030120&group_id=130558 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: nchaitas (nchaitas) Assigned to: Nobody/Anonymous (nobody) Summary: Support for Eclipse PDE Initial Comment: Hi! We develop an Eclipse based project with OSGi bundles etc and we tried to introduce Cobertura to it with no success. While there were no problems by simple Junit tests, there were class loading problems by tests that need to get run as JUnit plugin tests. I searched around and I found out that other developers had the same problems too (http://dev.eclipse.org/newslists/news.eclipse.tptp/msg02546.html). Therefore they had to go for EMMA, which seems to deal with these problems thanks to its "in place" (overwrite mode) instrumentation in offline mode and its installation as an extension to JRE (http://dev.eclipse.org/newslists/news.eclipse.platform/msg44478.html) . Does Cobertura provide any similar solution for it and if not, is there any intention to face this problem? Thank you in advance, neo ---------------------------------------------------------------------- >Comment By: John Lewis (lewijw) Date: 2008-07-28 07:22 Message: Logged In: YES user_id=1031161 Originator: NO Can you give me the link for EMMA's instructions for offline mode operation? It is possible to have Cobertura instrument in place. Just don't use the todir attribute of <cobertura-instrument>. I'm not a plugin developer, but I imagine you need to make sure Cobertura is loaded by the root classloader. I'm not sure how to do that with Eclipse. I would like to get this working. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=720018&aid=2030120&group_id=130558 |