commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Pugh" <ep...@upstate.com>
Subject RE: [Resources] Presence vs. contrib
Date Tue, 02 Mar 2004 14:13:22 GMT
I have used HSQL and/or mckoi quite successfully for running unit tests.  In
[configuration] we have TestDatabaseConfiguration that demonstrates using
DBUnit to populate an HSQLDB database, all in memory.  An upcoming HSQLDB
1.7.2 will be even better at being used in memory, you'll be able to specify
that the database is to be totally in memory and not persist anythign...

Eric

> -----Original Message-----
> From: James Mitchell [mailto:jmitchell@apache.org]
> Sent: Tuesday, March 02, 2004 12:33 PM
> To: Jakarta Commons Developers List
> Subject: Re: [Resources] Presence vs. contrib
>
>
>
> I'm not sure how you want to handle the tests that require a database
> configuration and connection (??Craig??).  They run fine for me with a
> simple mysql install.
>
> As far as building/dist-ing, Maven is giving me fits.  I am
> fighting with
> Maven to get it to do what I need (per last discussion about
> distributions
> and struts plugins, etc), but I'm just not that familiar with it.
>
> I'm not complaining about Maven specifically, I just hate
> feeling stupid
> with this or any neat tool ;)
>
> Much like the discussions/arguments about jsp vs. velocity,
> Maven might be
> cool and might even be more powerful than Ant, but I am just not as
> knowledgable with Maven as I am with Ant build scripts.
>
> I'm going to move them to the main src directory, but I will need some
> assistence getting the tests to pass.
>
>
> --
> James Mitchell
> Software Engineer / Open Source Evangelist
> EdgeTech, Inc.
> 678.910.8017
> AIM: jmitchtx
> MSN: jmitchell@apache.org
>
>
>
> ----- Original Message -----
> From: "Craig R. McClanahan" <craigmcc@apache.org>
> To: "Jakarta Commons Developers List" <commons-dev@jakarta.apache.org>
> Sent: Saturday, February 28, 2004 4:21 PM
> Subject: Re: [Resources] Presence vs. contrib
>
>
> > Quoting Martin Cooper <martinc@apache.org>:
> >
> > > The database implementations of Resources are currently
> under a contrib
> > > directory, which seems to imply that they are somehow second class
> > > citizens to the other implementations. I'd prefer to see
> them up there
> > > with the best of them. ;-)
> > >
> > > Perhaps we could use a 'presence' test, as Chain does, to
> determine
> > > whether or not these pieces are built, and then integrate
> them more
> fully
> > > into the Resources build?
> > >
> >
> > +1 to both suggestions.
> >
> > > --
> > > Martin Cooper
> > >
> >
> > Craig
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> >
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message