|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Quick dependencies questionSo, trying to get cobertura to work. I downloaded the latest (I think it was 1.9), it had asm 3.0. 1) Is that correct? 2) I was having issues with something else using an older version of asm. I saw on the cobertura faq: Cobertura uses ASM to modify your bytecode. There are a few other popular programs that use ASM; Groovy and Hibernate, to name two. You could have problems if Cobertura uses a different version of asm and you add both versions to your classpath. Cobertura only uses ASM when instrumenting. Cobertura does not need ASM in your classpath when running tests. If you're seeing classpath conflicts, just make sure the asm jar that comes with Cobertura is used only by Cobertura, and only when instrumenting. With Ant, once you include ASM in your class path, how do you uninclude it? Basically, the version of easymock I am using requires ASM 2.2... easymock is used during the testing, right after instrumentation. Any ideas? (I can probably get easymock to work with asm3.0 but I want to know if there is a quick and easy way first) Thanks. ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Cobertura-devel mailing list Cobertura-devel@... https://lists.sourceforge.net/lists/listinfo/cobertura-devel |
|
|
|
Re: Quick dependencies questionPlease double check. To my knowledge Cobertura 1.9 uses asm 2.2.1.
Follow the example on the web site. Note that a special
cobertura.classpath is created and used to do the typedef. This classpath is
separate from the classpath you use in your tests. From:
cobertura-devel-bounces@...
[mailto:cobertura-devel-bounces@...] On Behalf Of Greg
Allen So, trying to get cobertura to
work. I downloaded the latest (I think it was 1.9), it had asm 3.0. Cobertura uses ASM to modify your bytecode. There are a few other popular
programs that use ASM; Groovy and Hibernate, to name two. You could have
problems if Cobertura uses a different version of asm and you add both versions
to your classpath. Cobertura only uses ASM when instrumenting. Cobertura does not need ASM
in your classpath when running tests. If you're seeing classpath conflicts,
just make sure the asm jar that comes with Cobertura is used only by Cobertura,
and only when instrumenting.
------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Cobertura-devel mailing list Cobertura-devel@... https://lists.sourceforge.net/lists/listinfo/cobertura-devel |
|
|
|
Re: Quick dependencies question
------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Cobertura-devel mailing list Cobertura-devel@... https://lists.sourceforge.net/lists/listinfo/cobertura-devel |
|
|
|
Re: Quick dependencies questionAh I see. I didn’t know you were using the trunk. The trunk
is post 1.9. From: Greg Allen
[mailto:gallen15@...]
------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Cobertura-devel mailing list Cobertura-devel@... https://lists.sourceforge.net/lists/listinfo/cobertura-devel |
| Free Forum Powered by Nabble | Forum Help |