Quick dependencies question

View: New views
4 Messages — Rating Filter:   Alert me  

Quick dependencies question

by Greg Allen-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
So, 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 question

by John W. Lewis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

 

Please 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
Sent: Wednesday, July 02, 2008 9:56 PM
To: cobertura-devel@...
Subject: [Cobertura-devel] Quick dependencies question

 

So, 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 question

by Greg Allen-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Yeah, just double checked, when I got the trunk from the subversion repository, asm3.0 was in the library.

I'll check on the ANT path, thanks.
--- On Wed, 7/2/08, John W. Lewis <JohnW.Lewis@...> wrote:
From: John W. Lewis <JohnW.Lewis@...>
Subject: RE: [Cobertura-devel] Quick dependencies question
To: "Greg Allen" <gallen15@...>, "cobertura-devel@..." <cobertura-devel@...>
Date: Wednesday, July 2, 2008, 8:08 PM

 

Please 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
Sent: Wednesday, July 02, 2008 9:56 PM
To: cobertura-devel@...
Subject: [Cobertura-devel] Quick dependencies question

 

So, 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 question

by John W. Lewis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

 

Ah I see.  I didn’t know you were using the trunk.    The trunk is post 1.9.

 

From: Greg Allen [mailto:gallen15@...]
Sent: Thursday, July 03, 2008 10:34 AM
To: cobertura-devel@...; John W. Lewis
Subject: RE: [Cobertura-devel] Quick dependencies question

 

Yeah, just double checked, when I got the trunk from the subversion repository, asm3.0 was in the library.

I'll check on the ANT path, thanks.
--- On Wed, 7/2/08, John W. Lewis <JohnW.Lewis@...> wrote:

From: John W. Lewis <JohnW.Lewis@...>
Subject: RE: [Cobertura-devel] Quick dependencies question
To: "Greg Allen" <gallen15@...>, "cobertura-devel@..." <cobertura-devel@...>
Date: Wednesday, July 2, 2008, 8:08 PM

 

Please 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
Sent: Wednesday, July 02, 2008 9:56 PM
To: cobertura-devel@...
Subject: [Cobertura-devel] Quick dependencies question

 

So, 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
LightInTheBox - Buy quality products at wholesale price