From: dion g. <dio...@us...> - 2003-04-12 02:11:58
|
diongillard 03/04/11 19:11:57 Modified: dbunit/xdocs changes.xml Log: Fix changes Revision Changes Path 1.2 +1 -1 maven-plugins/dbunit/xdocs/changes.xml Index: changes.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/dbunit/xdocs/changes.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- changes.xml 12 Apr 2003 01:05:45 -0000 1.1 +++ changes.xml 12 Apr 2003 02:11:57 -0000 1.2 @@ -8,7 +8,7 @@ <body> <release version="1.0" date="in cvs"> - <action dev="evenisse" type="add"> + <action dev="diongillard" type="add"> Initial plugin created. Goals are move from java plugin. </action> </release> |
From: dion g. <dio...@us...> - 2003-04-12 02:36:19
|
diongillard 03/04/11 19:36:18 Modified: dbunit/xdocs changes.xml Log: Remove wrong doc Revision Changes Path 1.3 +1 -1 maven-plugins/dbunit/xdocs/changes.xml Index: changes.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/dbunit/xdocs/changes.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- changes.xml 12 Apr 2003 02:11:57 -0000 1.2 +++ changes.xml 12 Apr 2003 02:36:18 -0000 1.3 @@ -9,7 +9,7 @@ <release version="1.0" date="in cvs"> <action dev="diongillard" type="add"> - Initial plugin created. Goals are move from java plugin. + Initial plugin created. </action> </release> |
From: dion g. <dio...@us...> - 2004-04-25 19:17:42
|
diongillard 04/04/25 09:46:03 Modified: dbunit/xdocs changes.xml Log: Add more detail on the format property Revision Changes Path 1.7 +2 -0 maven-plugins/dbunit/xdocs/changes.xml Index: changes.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/dbunit/xdocs/changes.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- changes.xml 16 Feb 2004 15:40:01 -0000 1.6 +++ changes.xml 25 Apr 2004 16:46:03 -0000 1.7 @@ -8,6 +8,8 @@ <body> <release version="1.2" date="in CVS"> + <action dev="diongillard" type="update">Allow schema to be specified for generate-dtd</action> + <action dev="diongillard" type="update">Move to dbunit v2</action> <action dev="diongillard" type="fix">Remove old docs</action> </release> |
From: dion g. <dio...@us...> - 2004-07-19 00:44:47
|
diongillard 04/07/18 17:44:40 Modified: dbunit/xdocs changes.xml Log: Add -SNAPSHOT to version Revision Changes Path 1.8 +1 -1 maven-plugins/dbunit/xdocs/changes.xml Index: changes.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/dbunit/xdocs/changes.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- changes.xml 25 Apr 2004 16:46:03 -0000 1.7 +++ changes.xml 19 Jul 2004 00:44:40 -0000 1.8 @@ -7,7 +7,7 @@ <body> - <release version="1.2" date="in CVS"> + <release version="1.2-SNAPSHOT" date="in CVS"> <action dev="diongillard" type="update">Allow schema to be specified for generate-dtd</action> <action dev="diongillard" type="update">Move to dbunit v2</action> <action dev="diongillard" type="fix">Remove old docs</action> |
From: dion g. <dio...@us...> - 2004-07-19 01:48:20
|
diongillard 04/07/18 18:48:13 Modified: dbunit project.xml dbunit/xdocs changes.xml Log: [maven-scm-plugin] prepare release 1.2 Revision Changes Path 1.22 +16 -11 maven-plugins/dbunit/project.xml Index: project.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/dbunit/project.xml,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- project.xml 19 Jul 2004 01:46:47 -0000 1.21 +++ project.xml 19 Jul 2004 01:47:57 -0000 1.22 @@ -1,36 +1,44 @@ -<?xml version="1.0"?> +<?xml version="1.0" encoding="UTF-8"?> <project> <extend>${basedir}/../plugin-project.xml</extend> <!--pomVersion is in parent --> + <id>maven-dbunit-plugin</id> <name>Dbunit Plug-in</name> <!-- groupId is in parent --> - <currentVersion>1.2-SNAPSHOT</currentVersion> + + <currentVersion>1.2</currentVersion> <!-- organization is in parent --> + <inceptionYear>2003</inceptionYear> <!-- package, logo are in parent. no gumpRepositoryId --> + <description>A plugin to automate Dbunit tasks</description> <shortDescription>Dbunit tasks</shortDescription> <!-- issue tracking url, siteAddress are in parent --> + <siteDirectory>/home/groups/m/ma/maven-plugins/htdocs/maven-dbunit-plugin/</siteDirectory> <distributionDirectory>/home/groups/m/ma/maven-plugins/htdocs/maven-dbunit-plugin/distributions/</distributionDirectory> - <repository> <connection>scm:cvs:pserver:ano...@cv...:/cvsroot/maven-plugins:maven-plugins/dbunit</connection> <developerConnection>scm:cvs:ext:${maven.username}@cvs.sourceforge.net:/cvsroot/maven-plugins:maven-plugins/dbunit</developerConnection> <url>http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/maven-plugins/maven-plugins/dbunit/</url> </repository> - <versions> <version> <id>1.1</id> <name>1.1</name> <tag>MAVEN_PLUGINS_DBUNIT_1_1</tag> </version> + <version> + <id>1.2</id> + <name>1.2</name> + <tag>MAVEN_DBUNIT_1_2</tag> + </version> </versions> <!-- mailingLists is in parent --> - + <developers> <developer> <name>dIon Gillard</name> @@ -42,13 +50,12 @@ </roles> </developer> </developers> - <!-- no contributors --> - <!-- licenses section not done yet --> - + <dependencies> <!-- dbunit deps --> + <dependency> <groupId>dbunit</groupId> <artifactId>dbunit</artifactId> @@ -67,10 +74,8 @@ <artifactId>commons-lang</artifactId> <version>2.0</version> </dependency> - </dependencies> - <!-- build is in the parent --> <!-- reports is in the parent --> - + </project> 1.9 +4 -11 maven-plugins/dbunit/xdocs/changes.xml Index: changes.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/dbunit/xdocs/changes.xml,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- changes.xml 19 Jul 2004 00:44:40 -0000 1.8 +++ changes.xml 19 Jul 2004 01:47:57 -0000 1.9 @@ -1,29 +1,22 @@ -<?xml version="1.0"?> +<?xml version="1.0" encoding="UTF-8"?> + <document> <properties> <title>Changes</title> <author email="dio...@so...">dIon Gillard</author> </properties> - <body> - - <release version="1.2-SNAPSHOT" date="in CVS"> + <release version="1.2" date="2004-07-19"> <action dev="diongillard" type="update">Allow schema to be specified for generate-dtd</action> <action dev="diongillard" type="update">Move to dbunit v2</action> <action dev="diongillard" type="fix">Remove old docs</action> </release> - <release version="1.1" date="2004-02-17"> <action dev="diongillard" type="add">Add schema property</action> <action dev="diongillard" type="add">Add import-dataset goal</action> </release> - <release version="1.0" date="Unknown"> - <action dev="diongillard" type="add"> - Initial plugin created. - </action> + <action dev="diongillard" type="add">Initial plugin created.</action> </release> - </body> </document> - |
From: dion g. <dio...@us...> - 2004-07-28 06:11:04
|
diongillard 04/07/27 23:10:48 Modified: dbunit project.xml dbunit/xdocs changes.xml Log: use dbunit 2.1 Revision Changes Path 1.24 +1 -1 maven-plugins/dbunit/project.xml Index: project.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/dbunit/project.xml,v retrieving revision 1.23 retrieving revision 1.24 diff -u -r1.23 -r1.24 --- project.xml 19 Jul 2004 02:05:28 -0000 1.23 +++ project.xml 28 Jul 2004 06:10:47 -0000 1.24 @@ -59,7 +59,7 @@ <dependency> <groupId>dbunit</groupId> <artifactId>dbunit</artifactId> - <version>2.0</version> + <version>2.1</version> <properties> <classloader>root.maven</classloader> </properties> 1.10 +3 -0 maven-plugins/dbunit/xdocs/changes.xml Index: changes.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/dbunit/xdocs/changes.xml,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- changes.xml 19 Jul 2004 01:47:57 -0000 1.9 +++ changes.xml 28 Jul 2004 06:10:48 -0000 1.10 @@ -6,6 +6,9 @@ <author email="dio...@so...">dIon Gillard</author> </properties> <body> + <release version="1.3" date="in CVS"> + <action dev="diongillard" type="update">Use dbunit v2.1</action> + </release> <release version="1.2" date="2004-07-19"> <action dev="diongillard" type="update">Allow schema to be specified for generate-dtd</action> <action dev="diongillard" type="update">Move to dbunit v2</action> |
From: dion g. <dio...@us...> - 2004-08-01 11:15:11
|
diongillard 04/08/01 04:15:03 Modified: dbunit project.xml plugin.jelly dbunit/xdocs changes.xml Log: New version Revision Changes Path 1.27 +4 -2 maven-plugins/dbunit/project.xml Index: project.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/dbunit/project.xml,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- project.xml 28 Jul 2004 14:34:38 -0000 1.26 +++ project.xml 1 Aug 2004 11:15:02 -0000 1.27 @@ -8,11 +8,13 @@ <name>Dbunit Plug-in</name> <!-- groupId is in parent --> - <currentVersion>1.3</currentVersion> + <currentVersion>1.4-SNAPSHOT</currentVersion> <!-- organization is in parent --> <inceptionYear>2003</inceptionYear> - <!-- package, logo are in parent. no gumpRepositoryId --> + <package>net.sourceforge.mavenplugins</package> + + <!-- logo is in parent. no gumpRepositoryId --> <description>A plugin to automate Dbunit tasks</description> <shortDescription>Dbunit tasks</shortDescription> 1.11 +2 -2 maven-plugins/dbunit/plugin.jelly Index: plugin.jelly =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/dbunit/plugin.jelly,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- plugin.jelly 25 Apr 2004 18:55:41 -0000 1.10 +++ plugin.jelly 1 Aug 2004 11:15:02 -0000 1.11 @@ -24,7 +24,7 @@ description="Generate a dbunit dtd for a connection"> <!-- fixme - this should be a tag lib --> <ant:mkdir dir="${maven.build.dir}/dbunit/" /> - <j:useBean var="generator" class="org.apache.maven.dbunit.DTDGenerator" + <j:useBean var="generator" class="net.sourceforge.mavenplugins.dbunit.DTDGenerator" driverClassName="${maven.dbunit.driverClassName}" url="${maven.dbunit.url}" user="${maven.dbunit.user}" @@ -91,7 +91,7 @@ <goal name="dbunit:export-xls"> <ant:mkdir dir="${maven.build.dir}/dbunit/" /> - <j:useBean var="tool" class="org.apache.maven.dbunit.DataSetTool" + <j:useBean var="tool" class="net.sourceforge.mavenplugins.dbunit.DataSetTool" driverClassName="${maven.dbunit.driverClassName}" url="${maven.dbunit.url}" user="${maven.dbunit.user}" 1.11 +4 -1 maven-plugins/dbunit/xdocs/changes.xml Index: changes.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/dbunit/xdocs/changes.xml,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- changes.xml 28 Jul 2004 06:10:48 -0000 1.10 +++ changes.xml 1 Aug 2004 11:15:02 -0000 1.11 @@ -6,7 +6,10 @@ <author email="dio...@so...">dIon Gillard</author> </properties> <body> - <release version="1.3" date="in CVS"> + <release version="1.4-SNAPSHOT" date="in CVS"> + <action dev="diongillard" type="update">Rename packages from org.apache.maven to net.sourceforge.mavenplugins</action> + </release> + <release version="1.3" date="2004-07-29"> <action dev="diongillard" type="update">Use dbunit v2.1</action> </release> <release version="1.2" date="2004-07-19"> |
From: dion g. <dio...@us...> - 2004-08-01 12:01:46
|
diongillard 04/08/01 05:01:41 Modified: dbunit project.xml dbunit/xdocs changes.xml Log: [maven-scm-plugin] prepare release 1.4 Revision Changes Path 1.28 +6 -2 maven-plugins/dbunit/project.xml Index: project.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/dbunit/project.xml,v retrieving revision 1.27 retrieving revision 1.28 diff -u -r1.27 -r1.28 --- project.xml 1 Aug 2004 11:15:02 -0000 1.27 +++ project.xml 1 Aug 2004 12:01:40 -0000 1.28 @@ -8,12 +8,11 @@ <name>Dbunit Plug-in</name> <!-- groupId is in parent --> - <currentVersion>1.4-SNAPSHOT</currentVersion> + <currentVersion>1.4</currentVersion> <!-- organization is in parent --> <inceptionYear>2003</inceptionYear> <package>net.sourceforge.mavenplugins</package> - <!-- logo is in parent. no gumpRepositoryId --> <description>A plugin to automate Dbunit tasks</description> @@ -43,6 +42,11 @@ <name>1.3</name> <tag>MAVEN_PLUGINS_DBUNIT_1_3</tag> </version> + <version> + <id>1.4</id> + <name>1.4</name> + <tag>MAVEN_PLUGINS_DBUNIT_1_4</tag> + </version> </versions> <!-- mailingLists is in parent --> 1.12 +1 -1 maven-plugins/dbunit/xdocs/changes.xml Index: changes.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/dbunit/xdocs/changes.xml,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- changes.xml 1 Aug 2004 11:15:02 -0000 1.11 +++ changes.xml 1 Aug 2004 12:01:40 -0000 1.12 @@ -6,7 +6,7 @@ <author email="dio...@so...">dIon Gillard</author> </properties> <body> - <release version="1.4-SNAPSHOT" date="in CVS"> + <release version="1.4" date="2004-08-01"> <action dev="diongillard" type="update">Rename packages from org.apache.maven to net.sourceforge.mavenplugins</action> </release> <release version="1.3" date="2004-07-29"> |
From: dion g. <dio...@us...> - 2004-08-01 12:11:10
|
diongillard 04/08/01 05:11:04 Modified: dbunit/xdocs changes.xml Log: add docs Revision Changes Path 1.13 +1 -0 maven-plugins/dbunit/xdocs/changes.xml Index: changes.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/dbunit/xdocs/changes.xml,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- changes.xml 1 Aug 2004 12:01:40 -0000 1.12 +++ changes.xml 1 Aug 2004 12:11:04 -0000 1.13 @@ -8,6 +8,7 @@ <body> <release version="1.4" date="2004-08-01"> <action dev="diongillard" type="update">Rename packages from org.apache.maven to net.sourceforge.mavenplugins</action> + <action dev="diongillard" type="add">Add new import-xls goal</action> </release> <release version="1.3" date="2004-07-29"> <action dev="diongillard" type="update">Use dbunit v2.1</action> |
From: dion g. <dio...@us...> - 2004-08-01 13:22:19
|
diongillard 04/08/01 06:22:11 Modified: dbunit/xdocs changes.xml Log: Add docs Revision Changes Path 1.14 +4 -1 maven-plugins/dbunit/xdocs/changes.xml Index: changes.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/dbunit/xdocs/changes.xml,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- changes.xml 1 Aug 2004 12:11:04 -0000 1.13 +++ changes.xml 1 Aug 2004 13:22:11 -0000 1.14 @@ -6,9 +6,12 @@ <author email="dio...@so...">dIon Gillard</author> </properties> <body> + <release version="1.5" date="in CVS"> + <action dev="diongillard" type="add">Add xml2xls dataset conversion goal</action> + </release> <release version="1.4" date="2004-08-01"> <action dev="diongillard" type="update">Rename packages from org.apache.maven to net.sourceforge.mavenplugins</action> - <action dev="diongillard" type="add">Add new import-xls goal</action> + <action dev="diongillard" type="add">Add import-xls goal</action> </release> <release version="1.3" date="2004-07-29"> <action dev="diongillard" type="update">Use dbunit v2.1</action> |
From: dion g. <dio...@us...> - 2004-08-02 00:49:12
|
diongillard 04/08/01 17:49:05 Modified: dbunit/xdocs changes.xml Log: Doc new goals Revision Changes Path 1.15 +1 -0 maven-plugins/dbunit/xdocs/changes.xml Index: changes.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/dbunit/xdocs/changes.xml,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- changes.xml 1 Aug 2004 13:22:11 -0000 1.14 +++ changes.xml 2 Aug 2004 00:49:05 -0000 1.15 @@ -8,6 +8,7 @@ <body> <release version="1.5" date="in CVS"> <action dev="diongillard" type="add">Add xml2xls dataset conversion goal</action> + <action dev="diongillard" type="add">Add xls2xml, flat2xml and xml2flat dataset conversion goals</action> </release> <release version="1.4" date="2004-08-01"> <action dev="diongillard" type="update">Rename packages from org.apache.maven to net.sourceforge.mavenplugins</action> |
From: dion g. <dio...@us...> - 2004-08-18 06:28:14
|
diongillard 04/08/17 23:28:08 Modified: dbunit project.xml dbunit/xdocs changes.xml Log: User version of POI used with dbunit 2.1 Revision Changes Path 1.30 +1 -1 maven-plugins/dbunit/project.xml Index: project.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/dbunit/project.xml,v retrieving revision 1.29 retrieving revision 1.30 diff -u -r1.29 -r1.30 --- project.xml 1 Aug 2004 13:16:16 -0000 1.29 +++ project.xml 18 Aug 2004 06:28:07 -0000 1.30 @@ -78,7 +78,7 @@ <dependency> <groupId>poi</groupId> <artifactId>poi</artifactId> - <version>1.8.0-dev-20020919</version> + <version>2.0-final-20040126</version> </dependency> <dependency> <groupId>commons-lang</groupId> 1.16 +2 -1 maven-plugins/dbunit/xdocs/changes.xml Index: changes.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/dbunit/xdocs/changes.xml,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- changes.xml 2 Aug 2004 00:49:05 -0000 1.15 +++ changes.xml 18 Aug 2004 06:28:07 -0000 1.16 @@ -6,7 +6,8 @@ <author email="dio...@so...">dIon Gillard</author> </properties> <body> - <release version="1.5" date="in CVS"> + <release version="1.5-SNAPSHOT" date="in CVS"> + <action dev="diongillard" type="fix">Use version of POI used with dbunit 2.1</action> <action dev="diongillard" type="add">Add xml2xls dataset conversion goal</action> <action dev="diongillard" type="add">Add xls2xml, flat2xml and xml2flat dataset conversion goals</action> </release> |
From: dion g. <dio...@us...> - 2004-08-26 23:38:13
|
diongillard 04/08/26 16:38:06 Modified: dbunit project.xml dbunit/xdocs changes.xml Log: [maven-scm-plugin] prepare release 1.5 Revision Changes Path 1.31 +6 -1 maven-plugins/dbunit/project.xml Index: project.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/dbunit/project.xml,v retrieving revision 1.30 retrieving revision 1.31 diff -u -r1.30 -r1.31 --- project.xml 18 Aug 2004 06:28:07 -0000 1.30 +++ project.xml 26 Aug 2004 23:38:06 -0000 1.31 @@ -8,7 +8,7 @@ <name>Dbunit Plug-in</name> <!-- groupId is in parent --> - <currentVersion>1.5-SNAPSHOT</currentVersion> + <currentVersion>1.5</currentVersion> <!-- organization is in parent --> <inceptionYear>2003</inceptionYear> @@ -47,6 +47,11 @@ <name>1.4</name> <tag>MAVEN_PLUGINS_DBUNIT_1_4</tag> </version> + <version> + <id>1.5</id> + <name>1.5</name> + <tag>MAVEN_PLUGINS_DBUNIT_1_5</tag> + </version> </versions> <!-- mailingLists is in parent --> 1.17 +1 -1 maven-plugins/dbunit/xdocs/changes.xml Index: changes.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/dbunit/xdocs/changes.xml,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- changes.xml 18 Aug 2004 06:28:07 -0000 1.16 +++ changes.xml 26 Aug 2004 23:38:06 -0000 1.17 @@ -6,7 +6,7 @@ <author email="dio...@so...">dIon Gillard</author> </properties> <body> - <release version="1.5-SNAPSHOT" date="in CVS"> + <release version="1.5" date="2004-08-27"> <action dev="diongillard" type="fix">Use version of POI used with dbunit 2.1</action> <action dev="diongillard" type="add">Add xml2xls dataset conversion goal</action> <action dev="diongillard" type="add">Add xls2xml, flat2xml and xml2flat dataset conversion goals</action> |
From: Eric P. <de...@us...> - 2005-05-09 12:26:51
|
dep4b 05/05/09 05:26:45 Modified: dbunit/src/main/net/sourceforge/mavenplugins/dbunit DataSetTool.java dbunit/xdocs changes.xml Log: Support mssql operations and warning for invalid values Revision Changes Path 1.5 +18 -13 maven-plugins/dbunit/src/main/net/sourceforge/mavenplugins/dbunit/DataSetTool.java Index: DataSetTool.java =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/dbunit/src/main/net/sourceforge/mavenplugins/dbunit/DataSetTool.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- DataSetTool.java 5 Aug 2004 00:48:44 -0000 1.4 +++ DataSetTool.java 9 May 2005 12:26:44 -0000 1.5 @@ -61,6 +61,7 @@ import org.dbunit.database.IDatabaseConnection; import org.dbunit.dataset.DataSetException; import org.dbunit.dataset.IDataSet; +import org.dbunit.ext.mssql.InsertIdentityOperation; import org.dbunit.operation.DatabaseOperation; import java.io.IOException; @@ -80,7 +81,7 @@ private static final String EXPORT = "EXPORT"; /** format for excel files */ private static final String EXCEL = "EXCEL"; - + /** * @return the format of the data set. */ @@ -88,9 +89,9 @@ { return dataSetFormat; } - + /** - * TODO better document this + * TODO better document this * Set the format of the dataset, e.g. EXCEL * @param name the dbunit dataset format */ @@ -108,7 +109,7 @@ { return operation; } - + /** * @return the operation to perform on a dataset * @see #getOperation() @@ -120,20 +121,21 @@ if (operation.equalsIgnoreCase("CLEAN_INSERT")) dbOperation = DatabaseOperation.CLEAN_INSERT; if (operation.equalsIgnoreCase("DELETE")) dbOperation = DatabaseOperation.DELETE; if (operation.equalsIgnoreCase("INSERT")) dbOperation = DatabaseOperation.INSERT; + if (operation.equalsIgnoreCase("MSSQL_CLEAN_INSERT")) dbOperation = InsertIdentityOperation.CLEAN_INSERT; } - + /** * @return a comma separated list of table names - */ + */ public String getExportTables() { return exportTables; } - + /** * set the list of tables to be exported * @param tables a comma separated list of table names - */ + */ public void setExportTables(String tables) { exportTables = tables; @@ -145,9 +147,9 @@ private IDataSet getDataSet(IDatabaseConnection connection) throws SQLException { if (getExportTables() == null) return connection.createDataSet(); - else return connection.createDataSet(StringUtils.split(getExportTables(), ",")); + return connection.createDataSet(StringUtils.split(getExportTables(), ",")); } - + /** * Process a dataset using a DbUnit operation */ @@ -155,10 +157,9 @@ { if (getOperation().equalsIgnoreCase(EXPORT)) { - // database connection - close? - IDatabaseConnection connection = getConnection(); - // write file + IDatabaseConnection connection= getConnection(); writeDataSetToFile(getFileName(), getDataSetFormat(), getDataSet(connection)); + connection.close(); } else if (dbOperation != null) { @@ -166,6 +167,10 @@ IDataSet dataset = getDataSetFromFile(getFileName(), getDataSetFormat()); dbOperation.execute(getConnection(), dataset); } + else + { + throw new IllegalArgumentException("Invalid value for maven.dbunit.importType"); + } } } \ No newline at end of file 1.18 +3 -0 maven-plugins/dbunit/xdocs/changes.xml Index: changes.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/dbunit/xdocs/changes.xml,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- changes.xml 26 Aug 2004 23:38:06 -0000 1.17 +++ changes.xml 9 May 2005 12:26:45 -0000 1.18 @@ -6,6 +6,9 @@ <author email="dio...@so...">dIon Gillard</author> </properties> <body> + <release version="1.6" data="in cvs"> + <action dev="dep4b" type="fix" due-to="Fabrizio Giustina" issue="1159028">Support mssql operations and warning for invalid values</action> + </release> <release version="1.5" date="2004-08-27"> <action dev="diongillard" type="fix">Use version of POI used with dbunit 2.1</action> <action dev="diongillard" type="add">Add xml2xls dataset conversion goal</action> |
From: dion g. <dio...@us...> - 2005-06-22 11:43:47
|
diongillard 05/06/22 04:43:41 Modified: dbunit/src/main/net/sourceforge/mavenplugins/dbunit DataSetTool.java dbunit/xdocs changes.xml Log: Order dataset on export. Thanks to Josh Holtzman Revision Changes Path 1.6 +22 -2 maven-plugins/dbunit/src/main/net/sourceforge/mavenplugins/dbunit/DataSetTool.java Index: DataSetTool.java =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/dbunit/src/main/net/sourceforge/mavenplugins/dbunit/DataSetTool.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- DataSetTool.java 9 May 2005 12:26:44 -0000 1.5 +++ DataSetTool.java 22 Jun 2005 11:43:40 -0000 1.6 @@ -58,9 +58,12 @@ import org.apache.commons.lang.StringUtils; import org.dbunit.DatabaseUnitException; +import org.dbunit.database.DatabaseSequenceFilter; import org.dbunit.database.IDatabaseConnection; import org.dbunit.dataset.DataSetException; +import org.dbunit.dataset.FilteredDataSet; import org.dbunit.dataset.IDataSet; +import org.dbunit.dataset.filter.ITableFilter; import org.dbunit.ext.mssql.InsertIdentityOperation; import org.dbunit.operation.DatabaseOperation; @@ -146,8 +149,25 @@ */ private IDataSet getDataSet(IDatabaseConnection connection) throws SQLException { - if (getExportTables() == null) return connection.createDataSet(); - return connection.createDataSet(StringUtils.split(getExportTables(), ",")); + IDataSet dataSet = null; + if (getExportTables() == null) + { + dataSet = connection.createDataSet(); + } + else + { + String[] tables = StringUtils.split(getExportTables(), ","); + dataSet = connection.createDataSet(tables); + } + try + { + ITableFilter filter = new DatabaseSequenceFilter(connection); + return new FilteredDataSet(filter, dataSet); + } + catch (DataSetException e) + { + throw new SQLException(e.getMessage()); + } } /** 1.19 +1 -0 maven-plugins/dbunit/xdocs/changes.xml Index: changes.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/dbunit/xdocs/changes.xml,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- changes.xml 9 May 2005 12:26:45 -0000 1.18 +++ changes.xml 22 Jun 2005 11:43:40 -0000 1.19 @@ -7,6 +7,7 @@ </properties> <body> <release version="1.6" data="in cvs"> + <action dev="diongillard" type="add" due-to="Josh Holtzman">Order tables on export.</action> <action dev="dep4b" type="fix" due-to="Fabrizio Giustina" issue="1159028">Support mssql operations and warning for invalid values</action> </release> <release version="1.5" date="2004-08-27"> |
From: dion g. <dio...@us...> - 2005-06-22 12:17:33
|
diongillard 05/06/22 05:17:22 Modified: dbunit/xdocs changes.xml Log: fix typo Revision Changes Path 1.20 +1 -1 maven-plugins/dbunit/xdocs/changes.xml Index: changes.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/dbunit/xdocs/changes.xml,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- changes.xml 22 Jun 2005 11:43:40 -0000 1.19 +++ changes.xml 22 Jun 2005 12:17:22 -0000 1.20 @@ -6,7 +6,7 @@ <author email="dio...@so...">dIon Gillard</author> </properties> <body> - <release version="1.6" data="in cvs"> + <release version="1.6" date="in cvs"> <action dev="diongillard" type="add" due-to="Josh Holtzman">Order tables on export.</action> <action dev="dep4b" type="fix" due-to="Fabrizio Giustina" issue="1159028">Support mssql operations and warning for invalid values</action> </release> |
From: dion g. <dio...@us...> - 2005-06-22 12:20:39
|
diongillard 05/06/22 05:20:11 Modified: dbunit project.xml dbunit/xdocs changes.xml Log: [maven-scm-plugin] prepare release 1.6 Revision Changes Path 1.34 +7 -2 maven-plugins/dbunit/project.xml Index: project.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/dbunit/project.xml,v retrieving revision 1.33 retrieving revision 1.34 diff -u -r1.33 -r1.34 --- project.xml 9 May 2005 12:26:23 -0000 1.33 +++ project.xml 22 Jun 2005 12:20:10 -0000 1.34 @@ -8,7 +8,7 @@ <name>Dbunit Plug-in</name> <!-- groupId is in parent --> - <currentVersion>1.6-SNAPSHOT</currentVersion> + <currentVersion>1.6</currentVersion> <!-- organization is in parent --> <inceptionYear>2003</inceptionYear> @@ -51,6 +51,11 @@ <name>1.5</name> <tag>MAVEN_PLUGINS_DBUNIT_1_5</tag> </version> + <version> + <id>1.6</id> + <name>1.6</name> + <tag>MAVEN_PLUGINS_DBUNIT_1_6</tag> + </version> </versions> <!-- mailingLists is in parent --> @@ -72,7 +77,7 @@ <roles> <role>Developer</role> </roles> - </developer> + </developer> </developers> <!-- no contributors --> <!-- licenses section not done yet --> 1.21 +1 -1 maven-plugins/dbunit/xdocs/changes.xml Index: changes.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/dbunit/xdocs/changes.xml,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- changes.xml 22 Jun 2005 12:17:22 -0000 1.20 +++ changes.xml 22 Jun 2005 12:20:11 -0000 1.21 @@ -6,7 +6,7 @@ <author email="dio...@so...">dIon Gillard</author> </properties> <body> - <release version="1.6" date="in cvs"> + <release version="1.6" date="2005-06-22"> <action dev="diongillard" type="add" due-to="Josh Holtzman">Order tables on export.</action> <action dev="dep4b" type="fix" due-to="Fabrizio Giustina" issue="1159028">Support mssql operations and warning for invalid values</action> </release> |
From: Jeff J. <jef...@us...> - 2006-04-25 03:04:48
|
jeffjensen 06/04/24 20:04:43 Modified: dbunit project.xml dbunit/xdocs changes.xml Log: Change from snapshot to release. Revision Changes Path 1.37 +7 -6 maven-plugins/dbunit/project.xml Index: project.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/dbunit/project.xml,v retrieving revision 1.36 retrieving revision 1.37 diff -u -r1.36 -r1.37 --- project.xml 17 Apr 2006 01:44:33 -0000 1.36 +++ project.xml 25 Apr 2006 03:04:43 -0000 1.37 @@ -5,18 +5,18 @@ <!--pomVersion is in parent --> <id>maven-dbunit-plugin</id> - <name>Dbunit Plug-in</name> + <name>dbUnit Plug-in</name> <!-- groupId is in parent --> - <currentVersion>1.7-SNAPSHOT</currentVersion> + <currentVersion>1.7</currentVersion> <!-- organization is in parent --> <inceptionYear>2003</inceptionYear> <package>net.sourceforge.mavenplugins</package> <!-- logo is in parent. no gumpRepositoryId --> - <description>A plugin to automate Dbunit tasks</description> - <shortDescription>Dbunit tasks</shortDescription> + <description>A plugin to automate dbUnit tasks</description> + <shortDescription>dbUnit tasks</shortDescription> <url>http://maven-plugins.sourceforge.net/${pom.artifactId}</url> <!-- issue tracking url, siteAddress are in parent --> @@ -58,8 +58,9 @@ <tag>MAVEN_PLUGINS_DBUNIT_1_6</tag> </version> <version> - <id>1.7-SNAPSHOT</id> - <name>1.7-SNAPSHOT</name> + <id>1.7</id> + <name>1.7</name> + <tag>MAVEN_PLUGINS_DBUNIT_1_7</tag> </version> </versions> <!-- mailingLists is in parent --> 1.23 +7 -3 maven-plugins/dbunit/xdocs/changes.xml Index: changes.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/dbunit/xdocs/changes.xml,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- changes.xml 17 Apr 2006 01:44:33 -0000 1.22 +++ changes.xml 25 Apr 2006 03:04:43 -0000 1.23 @@ -6,9 +6,13 @@ <author email="dio...@so...">dIon Gillard</author> </properties> <body> - <release version="1.7-SNAPSHOT" date="2006-04-18" - description="Implemented optional lists of tables and queries that dictate data exported in generate-dataset. Added more properties that dbUnit supports. Updated docs for new new features and properties. Corrected a couple of minor doc errors/misc cleanup. Added 'Default Value' column to properties doc."> - <action dev="jeffjensen" type="add" issue="1406821">Support specifying tables and queries for export.</action> + <release version="1.7" date="2006-04-24" + description="Implemented optional lists of tables and queries that dictate data exported in generate-dataset. Added more properties that dbUnit supports. Updated docs for new features and properties. Corrected a couple of minor doc errors/misc cleanup. Added 'Default Value' column to properties doc."> + <action dev="jeffjensen" type="add" issue="1406821">Implemented optional lists of tables and queries that dictate data exported in generate-dataset.</action> + <action dev="jeffjensen" type="add">Added more properties that dbUnit supports.</action> + <action dev="jeffjensen" type="update">Updated docs for new features and properties.</action> + <action dev="jeffjensen" type="add">Added 'Default Value' column to properties doc.</action> + <action dev="jeffjensen" type="fix">Corrected a couple of minor doc errors/misc cleanup.</action> </release> <release version="1.6" date="2005-06-22"> <action dev="diongillard" type="add" due-to="Josh Holtzman">Order tables on export.</action> |