Allow user to specify jmock dependency

2009-04-21 Thread Martin Grotzke
Hi,

I just need to use jmock-2 instead of jmock-1, as I need to proxy a
class (not interface).

Is this a big deal?

There's an issue related to this:
https://issues.apache.org/jira/browse/BUILDR-150

Thanx  cheers,
Martin



signature.asc
Description: This is a digitally signed message part


Re: Allow user to specify jmock dependency

2009-04-21 Thread Martin Grotzke
Hi,

I just found out that also jmock-1 supports class proxies using cglib:
http://www.jmock.org/jmock1-cglib.html

One only has to add 
  transitive( 'jmock:jmock-cglib:jar:1.2.0' )
to the dependencies - fairly easy :)

Cheers,
Martin


On Tue, 2009-04-21 at 22:19 +0200, Martin Grotzke wrote:
 Hi,
 
 I just need to use jmock-2 instead of jmock-1, as I need to proxy a
 class (not interface).
 
 Is this a big deal?
 
 There's an issue related to this:
 https://issues.apache.org/jira/browse/BUILDR-150
 
 Thanx  cheers,
 Martin
 


signature.asc
Description: This is a digitally signed message part


Re: Allow user to specify jmock dependency

2009-04-21 Thread Assaf Arkin
On Tue, Apr 21, 2009 at 1:19 PM, Martin Grotzke 
martin.grot...@javakaffee.de wrote:

 Hi,

 I just need to use jmock-2 instead of jmock-1, as I need to proxy a
 class (not interface).

 Is this a big deal?


http://buildr.apache.org/languages.html#java

Scroll down to the discussion about JUnit, also covers changing the version
of JMock.

Assaf




 There's an issue related to this:
 https://issues.apache.org/jira/browse/BUILDR-150

 Thanx  cheers,
 Martin