Re: [dbutils] Consider moving Mock classes from src/test to src/java

2009-09-02 Thread Julien Aymé
2009/9/2 Jochen Wiedmann : > On Wed, Sep 2, 2009 at 8:44 AM, Julien Aymé wrote: > >> Does this change the way the distrib is build, and/or alter the maven >> scripts? > > You need to add the jar:test-jar goal, as outlined on the link I > posted previously. > > Jochen > Thanks a lot Jochen and Dan

Re: [dbutils] Consider moving Mock classes from src/test to src/java

2009-09-02 Thread Jochen Wiedmann
On Wed, Sep 2, 2009 at 8:44 AM, Julien Aymé wrote: > Does this change the way the distrib is build, and/or alter the maven scripts? You need to add the jar:test-jar goal, as outlined on the link I posted previously. Jochen -- Perl rules: http://xkcd.com/224/ -

Re: [dbutils] Consider moving Mock classes from src/test to src/java

2009-09-01 Thread Julien Aymé
2009/9/2 Jochen Wiedmann : > On Tue, Sep 1, 2009 at 10:29 PM, Dan Fabulich wrote: > >> Filing a JIRA issue wouldn't hurt, but I'm not sure we'd want to ship our >> mocks as part of the product.  I think there are better implementations of >> MockResultSet out there (SQLUnit, Mockrunner, etc.) > > W

Re: [dbutils] Consider moving Mock classes from src/test to src/java

2009-09-01 Thread Jochen Wiedmann
On Tue, Sep 1, 2009 at 10:29 PM, Dan Fabulich wrote: > Filing a JIRA issue wouldn't hurt, but I'm not sure we'd want to ship our > mocks as part of the product.  I think there are better implementations of > MockResultSet out there (SQLUnit, Mockrunner, etc.) Why not simply publish the test jar?

Re: [dbutils] Consider moving Mock classes from src/test to src/java

2009-09-01 Thread Dan Fabulich
Julien Aymé wrote: What do you think? Should I create a JIRA issue for this? Filing a JIRA issue wouldn't hurt, but I'm not sure we'd want to ship our mocks as part of the product. I think there are better implementations of MockResultSet out there (SQLUnit, Mockrunner, etc.) -Dan --

[dbutils] Consider moving Mock classes from src/test to src/java

2009-08-31 Thread Julien Aymé
Hi, When using dbutils, I use MockResultSet class and MockResultSetMetaData class in order to write simple unit tests. That's why I would like to move MockResultSet class and MockResultSetMetaData class from the test package to the main package, so that it would be included in the dbutils jar dis