Nah, I had it, it just didn't make the fat-finger-cut. In any case, if
I'd forgotten it, dbunit would've puked, and it runs to some sort of
completion.
In fact it says "success':
dbunit:import-dataset:
[echo] C:\...\cjo_action/db
[dbunit] Executing operation: CLEAN_INSERT
on file: C:\cm\..\action\dao\actiondata.xml
with format: xml
BUILD SUCCESSFUL
Total time: 7 seconds
Finished at: Mon Jan 17 11:34:16 PST 2005
But thanks for looking at it,
/hba
-----Original Message-----
From: Dion Gillard [mailto:[EMAIL PROTECTED]
Sent: Monday, January 17, 2005 4:11 PM
To: Maven Users List
Subject: Re: dbunit woes
You'll need:
maven.dbunit.driverClassName
maven.dbunit.url
maven.dbunit.user
maven.dbunit.password
maven.dbunit.importType (defaults to INSERT)
maven.dbunit.format (defaults to xml)
Looks like you're missing driverClassName
On Mon, 17 Jan 2005 12:05:09 -0800, Hal Arnold <[EMAIL PROTECTED]> wrote:
> All,
>
> I'm trying to replace my huge data loads in my unit tests that don't
> really change all that much. I'm moving them into a maven goal so I
can
> then use dbunit in the test itself to just load the granular tests
that
> are really changing each test. When I try to run the following:
>
> maven dbunit:import-dataset -Dfile=C:\..\dao\actiondata.xml it seems
to
> happily come back, but doesn't do anything, that is, it doesn't load
or
> unload any of the table items.
>
> So I tried to get p6spy interspersed and the log shows nothing
> happening, that is, no sql is generated. I believe that I've created
all
> the settings in project.properties and project.xml properly that I
need
> :
>
> maven.dbunit.password=<myPass>
>
> maven.dbunit.user=<myName>
>
> maven.dbunit.url=jdbc:oracle:thin:@<ip><port>:....db
>
> maven.dbunit.importType=CLEAN_INSERT
>
> Any hints
>
>
--
http://www.multitask.com.au/people/dion/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]