I've never used the DBUnit plugin myself, but as Greg mentioned, the
Codehaus plugin is for M2 while the other one is for M1.

If you don't get the answers you seek here, send your email to the
Mojo-User list at Codehaus.

Wayne

On 5/4/07, Gregory Kick <[EMAIL PROTECTED]> wrote:
On 5/4/07, Pete <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> 1) Firstly I've noticed there appears to be two DBUnit plugins, not
> sure which is best :
>
> http://mojo.codehaus.org/dbunit-maven-plugin
maven 2.x
>
> http://maven-plugins.sourceforge.net
maven 1.x
>
> 2) I'm trying to use the codehaus DBUnit plugin to export some data,
> but one table is giving me an error so I thought I'd provide a list of
> tables to export to the plugin configuration but not sure how to  :-
>
> The docs says there is a configurable  :-
> tables  Table[]   List of DbUnit's Table. See DbUnit's JavaDoc for details
>
> I have tried :-
>
>    <tables>
>                 <table>table1</table>
>                 <table>table2</table>
>    </tables>
>
>  and <tables>table1,table2<tables>
>
> all inside the plugin's <configuration>.
>
> The plugin requires org.dbunit.ant.Table but looks like the Strings
> don't get converted to this.
> Cannot assign configuration entry 'table' to 'class
> org.dbunit.ant.Table' from 'acl_object_identity', which is of type
> class java.lang.String
>
> Help ?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Gregory Kick
http://kickstyle.net/

---------------------------------------------------------------------
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]

Reply via email to