From: dion g. <dio...@us...> - 2003-04-12 02:11:11
|
diongillard 03/04/11 19:11:10 Modified: dbunit/xdocs goals.xml Log: Regenned goals docs Revision Changes Path 1.2 +20 -25 maven-plugins/dbunit/xdocs/goals.xml Index: goals.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/dbunit/xdocs/goals.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- goals.xml 12 Apr 2003 01:05:45 -0000 1.1 +++ goals.xml 12 Apr 2003 02:11:10 -0000 1.2 @@ -1,29 +1,24 @@ -<?xml version="1.0"?> -<document> +<?xml version="1.0" encoding="UTF-8"?> +<document> <properties> - <title>Maven Clean Plug-in Goals</title> - <author email="eve...@if...">Emmanuel Venisse</author> + <title>Maven Dbunit Plug-in Goals</title> + <author email="di...@ap...">dIon Gillard</author> </properties> - <body> - <section name="Goals"> - <table> - <tr><th>Goal</th><th>Description</th></tr> - <tr> - <td>clean</td> - <td> - This goal is a shortcut to the <code>clean:clean</code> goal - </td> - </tr> - <tr> - <td>clean:clean</td> - <td> - Removes the <a href="properties.html">maven.build.dir</a> and - <a href="properties.html">maven.test.reportsDirectory</a> directories - </td> - </tr> - </table> - </section> - </body> -</document> + <goals> + <goal> + <name>dbunit</name> + <description>generate dataset and dtd for connection</description> + </goal> + <goal> + <name>dbunit:generate-dataset</name> + <description>Generate a dbunit dataset for a connection</description> + </goal> + <goal> + <name>dbunit:generate-dtd</name> + <description>Generate a dbunit dtd for a connection</description> + </goal> + </goals> + </body> +</document> \ No newline at end of file |
From: dion g. <dio...@us...> - 2004-07-28 07:05:03
|
diongillard 04/07/28 00:04:56 Modified: dbunit/xdocs goals.xml Log: Document export-xls goal Revision Changes Path 1.4 +8 -0 maven-plugins/dbunit/xdocs/goals.xml Index: goals.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/dbunit/xdocs/goals.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- goals.xml 18 Aug 2003 02:36:55 -0000 1.3 +++ goals.xml 28 Jul 2004 07:04:55 -0000 1.4 @@ -12,6 +12,14 @@ <description>generate dataset and dtd for connection</description> </goal> <goal> + <name>dbunit:export-xls</name> + <description> + Create a spreadsheet in target/dbunit/export.xls from a set of tables. + Specify a variable called <code>tables</table> as a comma separated + list of tables to export, or leave it blank for all. + </description> + </goal> + <goal> <name>dbunit:generate-dataset</name> <description>Generate a dbunit dataset for a connection</description> </goal> |
From: dion g. <dio...@us...> - 2004-07-28 07:16:58
|
diongillard 04/07/28 00:16:50 Modified: dbunit/xdocs goals.xml Log: typo Revision Changes Path 1.5 +1 -1 maven-plugins/dbunit/xdocs/goals.xml Index: goals.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/dbunit/xdocs/goals.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- goals.xml 28 Jul 2004 07:04:55 -0000 1.4 +++ goals.xml 28 Jul 2004 07:16:49 -0000 1.5 @@ -15,7 +15,7 @@ <name>dbunit:export-xls</name> <description> Create a spreadsheet in target/dbunit/export.xls from a set of tables. - Specify a variable called <code>tables</table> as a comma separated + Specify a variable called <code>tables</code> as a comma separated list of tables to export, or leave it blank for all. </description> </goal> |
From: dion g. <dio...@us...> - 2004-08-01 11:57:39
|
diongillard 04/08/01 04:57:27 Modified: dbunit/xdocs goals.xml Log: Add new goal Revision Changes Path 1.6 +7 -0 maven-plugins/dbunit/xdocs/goals.xml Index: goals.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/dbunit/xdocs/goals.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- goals.xml 28 Jul 2004 07:16:49 -0000 1.5 +++ goals.xml 1 Aug 2004 11:57:27 -0000 1.6 @@ -32,6 +32,13 @@ <description>Import a dbunit dataset</description> </goal> <goal> + <name>dbunit:import-xls</name> + <description> + Import a spreadsheet specified by the <code>file</code> variable into a set of tables. + You can also specify the type of import via the <code>maven.dbunit.importType</code> variable. + </description> + </goal> + <goal> <name>dbunit:delete-dataset</name> <description>Import a dbunit dataset</description> </goal> |
From: dion g. <dio...@us...> - 2004-08-01 13:24:13
|
diongillard 04/08/01 06:24:08 Modified: dbunit/xdocs goals.xml Log: Doc new goal Revision Changes Path 1.7 +10 -2 maven-plugins/dbunit/xdocs/goals.xml Index: goals.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/dbunit/xdocs/goals.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- goals.xml 1 Aug 2004 11:57:27 -0000 1.6 +++ goals.xml 1 Aug 2004 13:24:08 -0000 1.7 @@ -12,6 +12,10 @@ <description>generate dataset and dtd for connection</description> </goal> <goal> + <name>dbunit:delete-dataset</name> + <description>Import a dbunit dataset</description> + </goal> + <goal> <name>dbunit:export-xls</name> <description> Create a spreadsheet in target/dbunit/export.xls from a set of tables. @@ -39,8 +43,12 @@ </description> </goal> <goal> - <name>dbunit:delete-dataset</name> - <description>Import a dbunit dataset</description> + <name>dbunit:xml2xls</name> + <description> + Convert an XML formatted dataset, specified by the variable <code>input</code> + into a spreadsheet (xls file) specified by the variable <code>output</code>. + Both input and output variables are file names. + </description> </goal> </goals> </body> |
From: dion g. <dio...@us...> - 2004-08-02 00:48:09
|
diongillard 04/08/01 17:48:01 Modified: dbunit plugin.jelly dbunit/xdocs goals.xml Log: Add xls2xml, flat2xml and xml2flat goals Revision Changes Path 1.14 +30 -0 maven-plugins/dbunit/plugin.jelly Index: plugin.jelly =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/dbunit/plugin.jelly,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- plugin.jelly 1 Aug 2004 13:17:22 -0000 1.13 +++ plugin.jelly 2 Aug 2004 00:48:01 -0000 1.14 @@ -128,4 +128,34 @@ ${tool.process()} <ant:echo>Spreadsheet '${output}' created from '${input}'</ant:echo> </goal> + + <goal name="dbunit:xls2xml"> + <j:useBean var="tool" class="net.sourceforge.mavenplugins.dbunit.DataSetConverter" + input="${input}" + inputFormat="excel" + output="${output}" + outputFormat="xml" /> + ${tool.process()} + <ant:echo>XML '${output}' created from '${input}'</ant:echo> + </goal> + + <goal name="dbunit:flat2xml"> + <j:useBean var="tool" class="net.sourceforge.mavenplugins.dbunit.DataSetConverter" + input="${input}" + inputFormat="flat" + output="${output}" + outputFormat="xml" /> + ${tool.process()} + <ant:echo>XML '${output}' created from '${input}'</ant:echo> + </goal> + + <goal name="dbunit:xml2flat"> + <j:useBean var="tool" class="net.sourceforge.mavenplugins.dbunit.DataSetConverter" + input="${input}" + inputFormat="xml" + output="${output}" + outputFormat="flat" /> + ${tool.process()} + <ant:echo>Flat XML '${output}' created from '${input}'</ant:echo> + </goal> </project> 1.8 +24 -0 maven-plugins/dbunit/xdocs/goals.xml Index: goals.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/dbunit/xdocs/goals.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- goals.xml 1 Aug 2004 13:24:08 -0000 1.7 +++ goals.xml 2 Aug 2004 00:48:01 -0000 1.8 @@ -24,6 +24,14 @@ </description> </goal> <goal> + <name>dbunit:flat2xml</name> + <description> + Convert a flat XML file, specified by the variable <code>input</code> + into an XML file specified by the variable <code>output</code>. + Both input and output variables are file names. + </description> + </goal> + <goal> <name>dbunit:generate-dataset</name> <description>Generate a dbunit dataset for a connection</description> </goal> @@ -43,6 +51,22 @@ </description> </goal> <goal> + <name>dbunit:xls2xml</name> + <description> + Convert an Excel spreadsheet, specified by the variable <code>input</code> + into an XML file specified by the variable <code>output</code>. + Both input and output variables are file names. + </description> + </goal> + <goal> + <name>dbunit:xml2flat</name> + <description> + Convert an XML file, specified by the variable <code>input</code> + into a flat XML file specified by the variable <code>output</code>. + Both input and output variables are file names. + </description> + </goal> + <goal> <name>dbunit:xml2xls</name> <description> Convert an XML formatted dataset, specified by the variable <code>input</code> |
From: dion g. <dio...@us...> - 2004-08-05 00:50:39
|
diongillard 04/08/04 17:50:32 Modified: dbunit/xdocs goals.xml Log: Add a bit more detail Revision Changes Path 1.9 +7 -2 maven-plugins/dbunit/xdocs/goals.xml Index: goals.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/dbunit/xdocs/goals.xml,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- goals.xml 2 Aug 2004 00:48:01 -0000 1.8 +++ goals.xml 5 Aug 2004 00:50:32 -0000 1.9 @@ -46,8 +46,13 @@ <goal> <name>dbunit:import-xls</name> <description> - Import a spreadsheet specified by the <code>file</code> variable into a set of tables. - You can also specify the type of import via the <code>maven.dbunit.importType</code> variable. + <p> + Import a spreadsheet specified by the <code>file</code> variable into a set of tables. + </p> + <p> + You can also specify the type of import via the <code>maven.dbunit.importType</code> + variable, which means that this goal can be used for deleting data, updating data etc. + </p> </description> </goal> <goal> |
From: dion g. <dio...@us...> - 2004-08-05 01:13:43
|
diongillard 04/08/04 18:13:36 Modified: dbunit/xdocs goals.xml Log: Add a link Revision Changes Path 1.10 +2 -1 maven-plugins/dbunit/xdocs/goals.xml Index: goals.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/dbunit/xdocs/goals.xml,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- goals.xml 5 Aug 2004 00:50:32 -0000 1.9 +++ goals.xml 5 Aug 2004 01:13:36 -0000 1.10 @@ -50,7 +50,8 @@ Import a spreadsheet specified by the <code>file</code> variable into a set of tables. </p> <p> - You can also specify the type of import via the <code>maven.dbunit.importType</code> + You can also specify the type of import via the + <a href="properties.html"><code>maven.dbunit.importType</code></a> variable, which means that this goal can be used for deleting data, updating data etc. </p> </description> |