You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(5) |
Jul
(7) |
Aug
(37) |
Sep
|
Oct
|
Nov
(1) |
Dec
(22) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(8) |
Feb
(68) |
Mar
(72) |
Apr
(149) |
May
(32) |
Jun
(46) |
Jul
(26) |
Aug
(59) |
Sep
(25) |
Oct
(18) |
Nov
(4) |
Dec
(3) |
| 2004 |
Jan
(90) |
Feb
(19) |
Mar
(38) |
Apr
(41) |
May
(44) |
Jun
(2) |
Jul
(10) |
Aug
|
Sep
(14) |
Oct
|
Nov
(1) |
Dec
|
| 2005 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(15) |
Jun
(1) |
Jul
|
Aug
(9) |
Sep
|
Oct
(17) |
Nov
|
Dec
|
| 2006 |
Jan
(1) |
Feb
(16) |
Mar
|
Apr
(1) |
May
(48) |
Jun
|
Jul
(2) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
(29) |
| 2007 |
Jan
|
Feb
(3) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2008 |
Jan
|
Feb
(23) |
Mar
(31) |
Apr
|
May
(26) |
Jun
(6) |
Jul
(1) |
Aug
|
Sep
(7) |
Oct
(1) |
Nov
(8) |
Dec
(8) |
| 2009 |
Jan
(5) |
Feb
(9) |
Mar
(1) |
Apr
|
May
(23) |
Jun
(3) |
Jul
|
Aug
(1) |
Sep
(9) |
Oct
(28) |
Nov
(18) |
Dec
(8) |
| 2010 |
Jan
(19) |
Feb
(24) |
Mar
(3) |
Apr
|
May
(5) |
Jun
(4) |
Jul
|
Aug
(1) |
Sep
(11) |
Oct
|
Nov
(2) |
Dec
(1) |
| 2011 |
Jan
|
Feb
(7) |
Mar
|
Apr
(6) |
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(32) |
Oct
(6) |
Nov
|
Dec
|
|
From: <rlo...@us...> - 2008-02-21 16:20:48
|
Revision: 569
http://dbunit.svn.sourceforge.net/dbunit/?rev=569&view=rev
Author: rlogiacco
Date: 2008-02-21 08:19:55 -0800 (Thu, 21 Feb 2008)
Log Message:
-----------
added myself (rlogiacco) to developers
Modified Paths:
--------------
trunk/pom.xml
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2008-02-20 09:51:02 UTC (rev 568)
+++ trunk/pom.xml 2008-02-21 16:19:55 UTC (rev 569)
@@ -121,6 +121,15 @@
<!-- <role>Original Ant Task Contributor</role> -->
</roles>
</developer>
+ <developer>
+ <name>Roberto Lo Giacco</name>
+ <id>rlogiacco</id>
+ <email>rlo...@us...</email>
+ <organization>SmartLab</organization>
+ <roles>
+ <role>Java Developer</role>
+ </roles>
+ </developer>
</developers>
<contributors>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fel...@us...> - 2008-02-20 09:51:07
|
Revision: 568
http://dbunit.svn.sourceforge.net/dbunit/?rev=568&view=rev
Author: felipeal
Date: 2008-02-20 01:51:02 -0800 (Wed, 20 Feb 2008)
Log Message:
-----------
1897627 - Removed JUnit dependency on IDatabaseTester implementations
Modified Paths:
--------------
trunk/src/changes/changes.xml
trunk/src/java/org/dbunit/AbstractDatabaseTester.java
trunk/src/java/org/dbunit/DataSourceDatabaseTester.java
trunk/src/java/org/dbunit/JndiDatabaseTester.java
Modified: trunk/src/changes/changes.xml
===================================================================
--- trunk/src/changes/changes.xml 2008-02-20 09:07:40 UTC (rev 567)
+++ trunk/src/changes/changes.xml 2008-02-20 09:51:02 UTC (rev 568)
@@ -8,6 +8,7 @@
<body>
<release version="2.2.1-SNAPSHOT" date="TBD" description="Another official release after a long, long time...">
+ <action dev="felipeal" type="fix" issue="1897627" >Removed JUnit dependency on IDatabaseTester implementations</action>
<action dev="felipeal" type="add" issue="1897612" >Created H2 data factory</action>
<action dev="felipeal" type="add" issue="1798605" due-to="Vera Wahler">New point Datatype on MySqlDataTypeFactory</action>
<action dev="felipeal" type="fix" issue="1735506" due-to="Greg Morgan">Improvements on M2 build - Additional files</action>
Modified: trunk/src/java/org/dbunit/AbstractDatabaseTester.java
===================================================================
--- trunk/src/java/org/dbunit/AbstractDatabaseTester.java 2008-02-20 09:07:40 UTC (rev 567)
+++ trunk/src/java/org/dbunit/AbstractDatabaseTester.java 2008-02-20 09:51:02 UTC (rev 568)
@@ -21,8 +21,6 @@
package org.dbunit;
-import junit.framework.Assert;
-
import org.dbunit.database.IDatabaseConnection;
import org.dbunit.dataset.IDataSet;
import org.dbunit.operation.DatabaseOperation;
@@ -117,12 +115,24 @@
{
logger.debug("assertNotNullNorEmpty(propertyName={}, property={}) - start", propertyName, property);
- Assert.assertNotNull( propertyName + " is null", property );
- Assert.assertTrue( "Invalid " + propertyName, property.trim()
+ assertTrue( propertyName + " is null", property != null );
+ assertTrue( "Invalid " + propertyName, property.trim()
.length() > 0 );
}
/**
+ * Method used to avoid JUnit dependency
+ * @param message message displayed if assertion is false
+ * @param condition condition to be tested
+ */
+ protected void assertTrue(String message, boolean condition) {
+ if (!condition) {
+ throw new AssertionFailedError( message );
+ }
+
+ }
+
+ /**
* Returs the schema value.
*/
protected String getSchema()
@@ -170,4 +180,22 @@
}
}
}
+
+ /**
+ * Exception used to avoid JUnit dependency.
+ * @author Felipe Leme
+ *
+ */
+ public static class AssertionFailedError extends Error {
+
+ private static final long serialVersionUID= 1L;
+
+ public AssertionFailedError () {
+ }
+ public AssertionFailedError (String message) {
+ super (message);
+ }
+ }
+
}
+
Modified: trunk/src/java/org/dbunit/DataSourceDatabaseTester.java
===================================================================
--- trunk/src/java/org/dbunit/DataSourceDatabaseTester.java 2008-02-20 09:07:40 UTC (rev 567)
+++ trunk/src/java/org/dbunit/DataSourceDatabaseTester.java 2008-02-20 09:51:02 UTC (rev 568)
@@ -24,7 +24,6 @@
import org.slf4j.LoggerFactory;
import javax.sql.DataSource;
-import junit.framework.Assert;
import org.dbunit.database.DatabaseConnection;
import org.dbunit.database.IDatabaseConnection;
@@ -60,7 +59,7 @@
{
logger.debug("getConnection() - start");
- Assert.assertNotNull( "DataSource is not set", dataSource );
+ assertTrue( "DataSource is not set", dataSource!=null );
return new DatabaseConnection( dataSource.getConnection() );
}
}
Modified: trunk/src/java/org/dbunit/JndiDatabaseTester.java
===================================================================
--- trunk/src/java/org/dbunit/JndiDatabaseTester.java 2008-02-20 09:07:40 UTC (rev 567)
+++ trunk/src/java/org/dbunit/JndiDatabaseTester.java 2008-02-20 09:51:02 UTC (rev 568)
@@ -23,8 +23,6 @@
import javax.naming.NamingException;
import javax.sql.DataSource;
-import junit.framework.Assert;
-
import org.dbunit.database.DatabaseConnection;
import org.dbunit.database.IDatabaseConnection;
@@ -93,11 +91,11 @@
Context context = new InitialContext( environment );
assertNotNullNorEmpty( "lookupName", lookupName );
Object obj = context.lookup( lookupName );
- Assert.assertNotNull( "JNDI object with [" + lookupName + "] not found", obj );
- Assert.assertTrue( "Object [" + obj + "] at JNDI location [" + lookupName
+ assertTrue( "JNDI object with [" + lookupName + "] not found", obj!=null );
+ assertTrue( "Object [" + obj + "] at JNDI location [" + lookupName
+ "] is not of type [" + DataSource.class.getName() + "]", obj instanceof DataSource );
dataSource = (DataSource) obj;
- Assert.assertNotNull( "DataSource is not set", dataSource );
+ assertTrue( "DataSource is not set", dataSource!=null );
initialized = true;
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fel...@us...> - 2008-02-20 09:07:43
|
Revision: 567
http://dbunit.svn.sourceforge.net/dbunit/?rev=567&view=rev
Author: felipeal
Date: 2008-02-20 01:07:40 -0800 (Wed, 20 Feb 2008)
Log Message:
-----------
[1897612] - Created H2 data factory
Modified Paths:
--------------
trunk/src/changes/changes.xml
trunk/src/java/org/dbunit/ext/hsqldb/HsqldbDataTypeFactory.java
trunk/src/test/org/dbunit/ext/AllTests.java
trunk/src/test/org/dbunit/ext/hsqldb/HsqldbDataTypeFactoryTest.java
Added Paths:
-----------
trunk/src/java/org/dbunit/ext/h2/
trunk/src/java/org/dbunit/ext/h2/H2Connection.java
trunk/src/java/org/dbunit/ext/h2/H2DataTypeFactory.java
trunk/src/test/org/dbunit/ext/h2/
trunk/src/test/org/dbunit/ext/h2/AllTests.java
trunk/src/test/org/dbunit/ext/h2/H2DataTypeFactoryTest.java
Modified: trunk/src/changes/changes.xml
===================================================================
--- trunk/src/changes/changes.xml 2008-02-20 08:25:44 UTC (rev 566)
+++ trunk/src/changes/changes.xml 2008-02-20 09:07:40 UTC (rev 567)
@@ -8,8 +8,9 @@
<body>
<release version="2.2.1-SNAPSHOT" date="TBD" description="Another official release after a long, long time...">
+ <action dev="felipeal" type="add" issue="1897612" >Created H2 data factory</action>
+ <action dev="felipeal" type="add" issue="1798605" due-to="Vera Wahler">New point Datatype on MySqlDataTypeFactory</action>
<action dev="felipeal" type="fix" issue="1735506" due-to="Greg Morgan">Improvements on M2 build - Additional files</action>
- <action dev="felipeal" type="add" issue="1798605" due-to="Vera Wahler">New point Datatype on MySqlDataTypeFactory</action>
</release>
<release version="2.2" date="December 28, 2006" description="First official release in a long, long time...">
<action dev="felipeal" type="add" issue="1473744" due-to="Andres Almiray">Enable TestCase compositions</action>
Added: trunk/src/java/org/dbunit/ext/h2/H2Connection.java
===================================================================
--- trunk/src/java/org/dbunit/ext/h2/H2Connection.java (rev 0)
+++ trunk/src/java/org/dbunit/ext/h2/H2Connection.java 2008-02-20 09:07:40 UTC (rev 567)
@@ -0,0 +1,40 @@
+/*
+ *
+ * The DbUnit Database Testing Framework
+ * Copyright (C)2008, DbUnit.org
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ */
+package org.dbunit.ext.h2;
+
+import org.dbunit.database.DatabaseConfig;
+import org.dbunit.database.DatabaseConnection;
+
+import java.sql.Connection;
+
+/**
+ *
+ * @author Felipe Leme
+ */
+public class H2Connection extends DatabaseConnection
+{
+ public H2Connection(Connection connection, String schema)
+ {
+ super(connection, schema);
+ getConfig().setProperty(DatabaseConfig.PROPERTY_DATATYPE_FACTORY,
+ new H2DataTypeFactory());
+ }
+}
\ No newline at end of file
Added: trunk/src/java/org/dbunit/ext/h2/H2DataTypeFactory.java
===================================================================
--- trunk/src/java/org/dbunit/ext/h2/H2DataTypeFactory.java (rev 0)
+++ trunk/src/java/org/dbunit/ext/h2/H2DataTypeFactory.java 2008-02-20 09:07:40 UTC (rev 567)
@@ -0,0 +1,58 @@
+/*
+ *
+ * The DbUnit Database Testing Framework
+ * Copyright (C)2008, DbUnit.org
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ */
+package org.dbunit.ext.h2;
+
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import org.dbunit.dataset.datatype.DataType;
+import org.dbunit.dataset.datatype.DataTypeException;
+import org.dbunit.dataset.datatype.DefaultDataTypeFactory;
+import org.dbunit.ext.hsqldb.HsqldbDataTypeFactory;
+
+/**
+ * Specialized factory that recognizes H2 data types.
+ * TODO: this class is pretty much the same as {@link HsqldbDataTypeFactory}, so they should derive from a common
+ * superclass - see issue 1897620
+
+ *
+ * @author Felipe Leme
+ */
+public class H2DataTypeFactory extends DefaultDataTypeFactory
+{
+
+ /**
+ * Logger for this class
+ */
+ private static final Logger logger = LoggerFactory.getLogger(H2DataTypeFactory.class);
+
+ public DataType createDataType(int sqlType, String sqlTypeName) throws DataTypeException
+ {
+ logger.debug("createDataType(sqlType=" + sqlType + ", sqlTypeName=" + sqlTypeName + ") - start");
+
+ if (sqlTypeName.equals("BOOLEAN"))
+ {
+ return DataType.BOOLEAN;
+ }
+
+ return super.createDataType(sqlType, sqlTypeName);
+ }
+}
\ No newline at end of file
Modified: trunk/src/java/org/dbunit/ext/hsqldb/HsqldbDataTypeFactory.java
===================================================================
--- trunk/src/java/org/dbunit/ext/hsqldb/HsqldbDataTypeFactory.java 2008-02-20 08:25:44 UTC (rev 566)
+++ trunk/src/java/org/dbunit/ext/hsqldb/HsqldbDataTypeFactory.java 2008-02-20 09:07:40 UTC (rev 567)
@@ -29,6 +29,8 @@
/**
* Specialized factory that recognizes Hsqldb data types.
+ * TODO: this class is pretty much the same as {@link H2DataTypeFactory}, so they should derive from a common
+ * superclass - see issue 1897620
*
* @author Klas Axell
*/
Modified: trunk/src/test/org/dbunit/ext/AllTests.java
===================================================================
--- trunk/src/test/org/dbunit/ext/AllTests.java 2008-02-20 08:25:44 UTC (rev 566)
+++ trunk/src/test/org/dbunit/ext/AllTests.java 2008-02-20 09:07:40 UTC (rev 567)
@@ -38,6 +38,7 @@
suite.addTest(org.dbunit.ext.mysql.AllTests.suite());
suite.addTest(org.dbunit.ext.oracle.AllTests.suite());
suite.addTest(org.dbunit.ext.hsqldb.AllTests.suite());
+ suite.addTest(org.dbunit.ext.h2.AllTests.suite());
return suite;
}
}
Added: trunk/src/test/org/dbunit/ext/h2/AllTests.java
===================================================================
--- trunk/src/test/org/dbunit/ext/h2/AllTests.java (rev 0)
+++ trunk/src/test/org/dbunit/ext/h2/AllTests.java 2008-02-20 09:07:40 UTC (rev 567)
@@ -0,0 +1,38 @@
+/*
+ *
+ * The DbUnit Database Testing Framework
+ * Copyright (C)2008, DbUnit.org
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ */
+package org.dbunit.ext.h2;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+/**
+ * @author Felipe Leme
+ */
+public class AllTests extends TestSuite
+{
+ public static Test suite()
+ {
+ TestSuite suite = new TestSuite();
+ suite.addTest(new TestSuite(H2DataTypeFactoryTest.class));
+ return suite;
+ }
+}
+
Added: trunk/src/test/org/dbunit/ext/h2/H2DataTypeFactoryTest.java
===================================================================
--- trunk/src/test/org/dbunit/ext/h2/H2DataTypeFactoryTest.java (rev 0)
+++ trunk/src/test/org/dbunit/ext/h2/H2DataTypeFactoryTest.java 2008-02-20 09:07:40 UTC (rev 567)
@@ -0,0 +1,57 @@
+/*
+ *
+ * The DbUnit Database Testing Framework
+ * Copyright (C)2008, DbUnit.org
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ */
+package org.dbunit.ext.h2;
+
+import org.dbunit.dataset.datatype.AbstractDataTypeFactoryTest;
+import org.dbunit.dataset.datatype.DataType;
+import org.dbunit.dataset.datatype.IDataTypeFactory;
+
+import java.sql.Types;
+
+/**
+ * @author Felipe Leme
+ */
+public class H2DataTypeFactoryTest extends AbstractDataTypeFactoryTest
+{
+ public H2DataTypeFactoryTest(String s)
+ {
+ super(s);
+ }
+
+ public IDataTypeFactory createFactory() throws Exception
+ {
+ return new H2DataTypeFactory();
+ }
+
+ // TODO: this test case is wrong, as it pass even if the custom code on createDataType() is removed
+ // see issue 1897620
+ public void testCreateBooleanDataType() throws Exception
+ {
+ int sqlType = Types.BIT;
+ String sqlTypeName = "BOOLEAN";
+
+ DataType expected = DataType.BOOLEAN;
+ DataType actual = createFactory().createDataType(sqlType, sqlTypeName);
+ assertSame("type", expected, actual);
+ }
+
+}
+
Modified: trunk/src/test/org/dbunit/ext/hsqldb/HsqldbDataTypeFactoryTest.java
===================================================================
--- trunk/src/test/org/dbunit/ext/hsqldb/HsqldbDataTypeFactoryTest.java 2008-02-20 08:25:44 UTC (rev 566)
+++ trunk/src/test/org/dbunit/ext/hsqldb/HsqldbDataTypeFactoryTest.java 2008-02-20 09:07:40 UTC (rev 567)
@@ -41,6 +41,7 @@
return new HsqldbDataTypeFactory();
}
+ // TODO: this test case is wrong, as it pass even if the custom code on createDataType() is removed
public void testCreateBooleanDataType() throws Exception
{
int sqlType = Types.BIT;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fel...@us...> - 2008-02-20 08:26:06
|
Revision: 566
http://dbunit.svn.sourceforge.net/dbunit/?rev=566&view=rev
Author: felipeal
Date: 2008-02-20 00:25:44 -0800 (Wed, 20 Feb 2008)
Log Message:
-----------
[ 1798605 ] New point Datatype MySqlDataTypeFactory
Modified Paths:
--------------
trunk/src/changes/changes.xml
trunk/src/java/org/dbunit/ext/mysql/MySqlDataTypeFactory.java
trunk/src/test/org/dbunit/ext/mysql/MySqlDataTypeFactoryTest.java
Modified: trunk/src/changes/changes.xml
===================================================================
--- trunk/src/changes/changes.xml 2008-02-20 08:01:01 UTC (rev 565)
+++ trunk/src/changes/changes.xml 2008-02-20 08:25:44 UTC (rev 566)
@@ -9,6 +9,7 @@
<body>
<release version="2.2.1-SNAPSHOT" date="TBD" description="Another official release after a long, long time...">
<action dev="felipeal" type="fix" issue="1735506" due-to="Greg Morgan">Improvements on M2 build - Additional files</action>
+ <action dev="felipeal" type="add" issue="1798605" due-to="Vera Wahler">New point Datatype on MySqlDataTypeFactory</action>
</release>
<release version="2.2" date="December 28, 2006" description="First official release in a long, long time...">
<action dev="felipeal" type="add" issue="1473744" due-to="Andres Almiray">Enable TestCase compositions</action>
Modified: trunk/src/java/org/dbunit/ext/mysql/MySqlDataTypeFactory.java
===================================================================
--- trunk/src/java/org/dbunit/ext/mysql/MySqlDataTypeFactory.java 2008-02-20 08:01:01 UTC (rev 565)
+++ trunk/src/java/org/dbunit/ext/mysql/MySqlDataTypeFactory.java 2008-02-20 08:25:44 UTC (rev 566)
@@ -60,6 +60,10 @@
{
return DataType.BOOLEAN;
}
+ else if("point".equals(sqlTypeName))
+ {
+ return DataType.BINARY;
+ }
}
return super.createDataType(sqlType, sqlTypeName);
Modified: trunk/src/test/org/dbunit/ext/mysql/MySqlDataTypeFactoryTest.java
===================================================================
--- trunk/src/test/org/dbunit/ext/mysql/MySqlDataTypeFactoryTest.java 2008-02-20 08:01:01 UTC (rev 565)
+++ trunk/src/test/org/dbunit/ext/mysql/MySqlDataTypeFactoryTest.java 2008-02-20 08:25:44 UTC (rev 566)
@@ -62,4 +62,15 @@
DataType actual = createFactory().createDataType(sqlType, sqlTypeName);
assertSame("type", expected, actual);
}
+
+ public void testCreatePointDataType() throws Exception
+ {
+ int sqlType = Types.OTHER;
+ String sqlTypeName = "point";
+
+ DataType expected = DataType.BINARY;
+ DataType actual = createFactory().createDataType(sqlType, sqlTypeName);
+ assertSame("type", expected, actual);
+ }
+
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fel...@us...> - 2008-02-20 08:01:05
|
Revision: 565
http://dbunit.svn.sourceforge.net/dbunit/?rev=565&view=rev
Author: felipeal
Date: 2008-02-20 00:01:01 -0800 (Wed, 20 Feb 2008)
Log Message:
-----------
Applied fix for [1735506] Improvements on M2 build - Additional files
Modified Paths:
--------------
trunk/src/changes/changes.xml
trunk/src/site/site.xml
Added Paths:
-----------
trunk/src/site/resources/
trunk/src/site/resources/images/
trunk/src/site/resources/images/dbunit-logo.jpg
trunk/src/site/resources/images/favicon.ico
Removed Paths:
-------------
trunk/src/site/xdoc/images/
Modified: trunk/src/changes/changes.xml
===================================================================
--- trunk/src/changes/changes.xml 2008-02-18 12:43:33 UTC (rev 564)
+++ trunk/src/changes/changes.xml 2008-02-20 08:01:01 UTC (rev 565)
@@ -7,6 +7,9 @@
</properties>
<body>
+ <release version="2.2.1-SNAPSHOT" date="TBD" description="Another official release after a long, long time...">
+ <action dev="felipeal" type="fix" issue="1735506" due-to="Greg Morgan">Improvements on M2 build - Additional files</action>
+ </release>
<release version="2.2" date="December 28, 2006" description="First official release in a long, long time...">
<action dev="felipeal" type="add" issue="1473744" due-to="Andres Almiray">Enable TestCase compositions</action>
<action dev="felipeal" type="add">Migrate SCM to Subversion</action>
Copied: trunk/src/site/resources/images/dbunit-logo.jpg (from rev 564, trunk/src/site/xdoc/images/dbunit-logo.jpg)
===================================================================
(Binary files differ)
Added: trunk/src/site/resources/images/favicon.ico
===================================================================
(Binary files differ)
Property changes on: trunk/src/site/resources/images/favicon.ico
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/src/site/site.xml
===================================================================
--- trunk/src/site/site.xml 2008-02-18 12:43:33 UTC (rev 564)
+++ trunk/src/site/site.xml 2008-02-20 08:01:01 UTC (rev 565)
@@ -1,7 +1,53 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<project name="DbUnit">
+ <bannerLeft>
+ <name>${project.name}</name>
+ <src>/images/dbunit-logo.jpg</src>
+ <href>http://www.dbunit.org</href>
+ </bannerLeft>
+
+ <bannerRight>
+ <name>DbUnit.org</name>
+ <src>http://sourceforge.net/sflogo.php?group_id=47439&type=5</src>
+ <href>http://www.sourceforge.net/projects/dbunit</href>
+ </bannerRight>
+
+ <!-- position can be
+ right, left, navigation-top, navigation-bottom, bottom
+ -->
+ <publishDate format="dd-MMM-yyyy" position="navigation-bottom" />
+
+ <skin>
+ <groupId>org.apache.maven.skins</groupId>
+ <!--
+ The choices are
+ maven-application-skin
+ maven-classic-skin
+ maven-default-skin
+ maven-stylus-skin
+ Perform a "mvn clean site" after a skin change.
+ -->
+ <artifactId>maven-default-skin</artifactId>
+ </skin>
+
<body>
+
+ <head>
+ <link rel="icon" href="/images/favicon.ico" type="image/x-icon" />
+ <link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon" />
+ </head>
+
+ <breadcrumbs>
+ <item name="JUnit" href="http://www.junit.org/index.htm"/>
+ <item name="DBUnit" href="http://www.dbunit.org"/>
+ </breadcrumbs>
+
+ <links>
+ <item name="JUnit" href="http://www.junit.org/index.htm"/>
+ <item name="DBUnit" href="http://www.dbunit.org"/>
+ </links>
+
<menu name="Quick Links">
<item name="Maven 1.x Plugin" href="http://maven-plugins.sourceforge.net/maven-dbunit-plugin/index.html"/>
<item name="Maven 2 Plugin" href="http://mojo.codehaus.org/dbunit-maven-plugin/"/>
@@ -14,6 +60,7 @@
<item name="Browse source" href="/jxr-report.html"/>
<item name="JavaDocs" href="/apidocs/index.html"/>
</menu>
+
<menu name="Overview">
<item name="About DbUnit" href="/index.html"/>
<item name="Database Testing" href="/intro.html"/>
@@ -25,6 +72,11 @@
<item name="Building DbUnit" href="/building.html"/>
<item name="Resources" href="/resources.html"/>
</menu>
- ${reports}
+
+ <menu ref="parent"/>
+ <menu ref="modules"/>
+ <menu ref="reports"/>
+
</body>
+
</project>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rlo...@us...> - 2008-02-18 12:43:47
|
Revision: 564
http://dbunit.svn.sourceforge.net/dbunit/?rev=564&view=rev
Author: rlogiacco
Date: 2008-02-18 04:43:33 -0800 (Mon, 18 Feb 2008)
Log Message:
-----------
moved few debug level logging statements to SLF4J optimized notation
Modified Paths:
--------------
trunk/src/java/org/dbunit/AbstractDatabaseTester.java
trunk/src/java/org/dbunit/Assertion.java
trunk/src/java/org/dbunit/dataset/datatype/ClobDataType.java
Modified: trunk/src/java/org/dbunit/AbstractDatabaseTester.java
===================================================================
--- trunk/src/java/org/dbunit/AbstractDatabaseTester.java 2008-02-18 12:38:41 UTC (rev 563)
+++ trunk/src/java/org/dbunit/AbstractDatabaseTester.java 2008-02-18 12:43:33 UTC (rev 564)
@@ -39,10 +39,10 @@
public abstract class AbstractDatabaseTester implements IDatabaseTester
{
- /**
- * Logger for this class
- */
- private static final Logger logger = LoggerFactory.getLogger(AbstractDatabaseTester.class);
+ /**
+ * Logger for this class
+ */
+ private static final Logger logger = LoggerFactory.getLogger(AbstractDatabaseTester.class);
private IDataSet dataSet;
private String schema;
@@ -56,7 +56,7 @@
public void closeConnection( IDatabaseConnection connection ) throws Exception
{
- logger.debug("closeConnection(connection=" + connection + ") - start");
+ logger.debug("closeConnection(connection={}) - start",connection);
connection.close();
}
@@ -78,34 +78,33 @@
public void onTearDown() throws Exception
{
logger.debug("onTearDown() - start");
-
executeOperation( getTearDownOperation() );
}
public void setDataSet( IDataSet dataSet )
{
- logger.debug("setDataSet(dataSet=" + dataSet + ") - start");
+ logger.debug("setDataSet(dataSet={}) - start", dataSet);
this.dataSet = dataSet;
}
public void setSchema( String schema )
{
- logger.debug("setSchema(schema=" + schema + ") - start");
+ logger.debug("setSchema(schema={}) - start", schema);
this.schema = schema;
}
public void setSetUpOperation( DatabaseOperation setUpOperation )
{
- logger.debug("setSetUpOperation(setUpOperation=" + setUpOperation + ") - start");
+ logger.debug("setSetUpOperation(setUpOperation={}) - start", setUpOperation);
this.setUpOperation = setUpOperation;
}
public void setTearDownOperation( DatabaseOperation tearDownOperation )
{
- logger.debug("setTearDownOperation(tearDownOperation=" + tearDownOperation + ") - start");
+ logger.debug("setTearDownOperation(tearDownOperation={}) - start", tearDownOperation);
this.tearDownOperation = tearDownOperation;
}
@@ -116,7 +115,7 @@
*/
protected void assertNotNullNorEmpty( String propertyName, String property )
{
- logger.debug("assertNotNullNorEmpty(propertyName=" + propertyName + ", property=" + property + ") - start");
+ logger.debug("assertNotNullNorEmpty(propertyName={}, property={}) - start", propertyName, property);
Assert.assertNotNull( propertyName + " is null", property );
Assert.assertTrue( "Invalid " + propertyName, property.trim()
@@ -128,7 +127,7 @@
*/
protected String getSchema()
{
- logger.debug("getSchema() - start");
+ logger.trace("getSchema() - start");
return schema;
}
@@ -138,7 +137,7 @@
*/
protected DatabaseOperation getSetUpOperation()
{
- logger.debug("getSetUpOperation() - start");
+ logger.trace("getSetUpOperation() - start");
return setUpOperation;
}
@@ -148,7 +147,7 @@
*/
protected DatabaseOperation getTearDownOperation()
{
- logger.debug("getTearDownOperation() - start");
+ logger.trace("getTearDownOperation() - start");
return tearDownOperation;
}
@@ -159,7 +158,7 @@
*/
private void executeOperation( DatabaseOperation operation ) throws Exception
{
- logger.debug("executeOperation(operation=" + operation + ") - start");
+ logger.debug("executeOperation(operation={}) - start", operation);
if( operation != DatabaseOperation.NONE ){
IDatabaseConnection connection = getConnection();
Modified: trunk/src/java/org/dbunit/Assertion.java
===================================================================
--- trunk/src/java/org/dbunit/Assertion.java 2008-02-18 12:38:41 UTC (rev 563)
+++ trunk/src/java/org/dbunit/Assertion.java 2008-02-18 12:43:33 UTC (rev 564)
@@ -58,8 +58,7 @@
public static void assertEquals(IDataSet expectedDataSet,
IDataSet actualDataSet) throws DatabaseUnitException
{
- logger.debug("assertEquals(expectedDataSet=" + expectedDataSet + ", actualDataSet=" + actualDataSet
- + ") - start");
+ logger.debug("assertEquals(expectedDataSet={}, actualDataSet={}) - start", expectedDataSet, actualDataSet);
// do not continue if same instance
if (expectedDataSet == actualDataSet)
@@ -104,7 +103,7 @@
public static void assertEquals(ITable expectedTable, ITable actualTable)
throws DatabaseUnitException
{
- logger.debug("assertEquals(expectedTable=" + expectedTable + ", actualTable=" + actualTable + ") - start");
+ logger.debug("assertEquals(expectedTable={}, actualTable={}) - start", expectedTable, actualTable);
// Do not continue if same instance
if (expectedTable == actualTable)
@@ -169,8 +168,7 @@
static DataType getComparisonDataType(String tableName, Column expectedColumn,
Column actualColumn)
{
- logger.debug("getComparisonDataType(tableName=" + tableName + ", expectedColumn=" + expectedColumn
- + ", actualColumn=" + actualColumn + ") - start");
+ logger.debug("getComparisonDataType(tableName={}, expectedColumn={}, actualColumn={}) - start", new Object[] {tableName, expectedColumn, actualColumn});
DataType expectedDataType = expectedColumn.getDataType();
DataType actualDataType = actualColumn.getDataType();
@@ -208,7 +206,7 @@
private static Column[] getSortedColumns(ITableMetaData metaData)
throws DataSetException
{
- logger.debug("getSortedColumns(metaData=" + metaData + ") - start");
+ logger.debug("getSortedColumns(metaData={}) - start", metaData);
Column[] columns = metaData.getColumns();
Column[] sortColumns = new Column[columns.length];
@@ -219,7 +217,7 @@
private static String getColumnNamesAsString(Column[] columns)
{
- logger.debug("getColumnNamesAsString(columns=" + columns + ") - start");
+ logger.debug("getColumnNamesAsString(columns={}) - start", columns);
String[] names = new String[columns.length];
for (int i = 0; i < columns.length; i++)
@@ -233,7 +231,7 @@
private static String[] getSortedUpperTableNames(IDataSet dataSet)
throws DataSetException
{
- logger.debug("getSortedUpperTableNames(dataSet=" + dataSet + ") - start");
+ logger.debug("getSortedUpperTableNames(dataSet={}) - start", dataSet);
String[] names = dataSet.getTableNames();
for (int i = 0; i < names.length; i++)
@@ -257,7 +255,7 @@
public int compare(Object o1, Object o2)
{
- logger.debug("compare(o1=" + o1 + ", o2=" + o2 + ") - start");
+ logger.debug("compare(o1={}, o2={}) - start", o1, o2);
Column column1 = (Column)o1;
Column column2 = (Column)o2;
Modified: trunk/src/java/org/dbunit/dataset/datatype/ClobDataType.java
===================================================================
--- trunk/src/java/org/dbunit/dataset/datatype/ClobDataType.java 2008-02-18 12:38:41 UTC (rev 563)
+++ trunk/src/java/org/dbunit/dataset/datatype/ClobDataType.java 2008-02-18 12:43:33 UTC (rev 564)
@@ -50,7 +50,7 @@
public Object getSqlValue(int column, ResultSet resultSet) throws SQLException, TypeCastException
{
- logger.debug("getSqlValue(column=" + column + ", resultSet=" + resultSet + ") - start");
+ logger.debug("getSqlValue(column=" + column + ", resultSet={}) - start", resultSet);
Clob value = resultSet.getClob(column);
if (value == null || resultSet.wasNull())
@@ -62,7 +62,7 @@
public void setSqlValue(Object value, int column, PreparedStatement statement) throws SQLException, TypeCastException
{
- logger.debug("setSqlValue(value=" + value + ", column=" + column + ", statement=" + statement + ") - start");
+ logger.debug("setSqlValue(value={}, column=" + column + ", statement={}) - start", value, statement);
statement.setObject(column, typeCast(value),
DataType.LONGVARCHAR.getSqlType());
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rlo...@us...> - 2008-02-18 12:38:46
|
Revision: 563
http://dbunit.svn.sourceforge.net/dbunit/?rev=563&view=rev
Author: rlogiacco
Date: 2008-02-18 04:38:41 -0800 (Mon, 18 Feb 2008)
Log Message:
-----------
[ 1712122 ] Misleading error reported by RowOutOfBoundsException
Submitted by: platus11
Modified Paths:
--------------
trunk/src/java/org/dbunit/dataset/AbstractTable.java
Modified: trunk/src/java/org/dbunit/dataset/AbstractTable.java
===================================================================
--- trunk/src/java/org/dbunit/dataset/AbstractTable.java 2008-02-05 21:48:55 UTC (rev 562)
+++ trunk/src/java/org/dbunit/dataset/AbstractTable.java 2008-02-18 12:38:41 UTC (rev 563)
@@ -58,7 +58,7 @@
if (row >= rowCount)
{
- throw new RowOutOfBoundsException(row + " > " + rowCount);
+ throw new RowOutOfBoundsException(row + " >= " + rowCount);
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rlo...@us...> - 2008-02-05 21:48:57
|
Revision: 562
http://dbunit.svn.sourceforge.net/dbunit/?rev=562&view=rev
Author: rlogiacco
Date: 2008-02-05 13:48:55 -0800 (Tue, 05 Feb 2008)
Log Message:
-----------
removed commons logging dependency and shifted lsf4j-nop dependency to runtime scope
Modified Paths:
--------------
trunk/pom.xml
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2008-02-05 21:47:52 UTC (rev 561)
+++ trunk/pom.xml 2008-02-05 21:48:55 UTC (rev 562)
@@ -236,13 +236,6 @@
</dependency>
<dependency>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
-<!-- TODO: update or use range-->
- <version>1.0.4</version>
- </dependency>
-
- <dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.4.3</version>
@@ -252,7 +245,7 @@
<groupId>org.slf4j</groupId>
<artifactId>slf4j-nop</artifactId>
<version>1.4.3</version>
- <scope>test</scope>
+ <scope>runtime</scope>
</dependency>
</dependencies>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rlo...@us...> - 2008-02-05 21:47:55
|
Revision: 561
http://dbunit.svn.sourceforge.net/dbunit/?rev=561&view=rev
Author: rlogiacco
Date: 2008-02-05 13:47:52 -0800 (Tue, 05 Feb 2008)
Log Message:
-----------
a few additional tests fixed against bugs introduce by logging facility
Modified Paths:
--------------
trunk/src/test/org/dbunit/AbstractDatabaseTest.java
trunk/src/test/org/dbunit/AbstractDatabaseTesterTest.java
trunk/src/test/org/dbunit/AbstractHSQLTestCase.java
trunk/src/test/org/dbunit/dataset/AbstractTableTest.java
Modified: trunk/src/test/org/dbunit/AbstractDatabaseTest.java
===================================================================
--- trunk/src/test/org/dbunit/AbstractDatabaseTest.java 2008-02-04 14:54:42 UTC (rev 560)
+++ trunk/src/test/org/dbunit/AbstractDatabaseTest.java 2008-02-05 21:47:52 UTC (rev 561)
@@ -21,13 +21,13 @@
package org.dbunit;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
import org.dbunit.database.IDatabaseConnection;
import org.dbunit.dataset.IDataSet;
import org.dbunit.dataset.ITable;
import org.dbunit.dataset.SortedTable;
import org.dbunit.operation.DatabaseOperation;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
/**
* @author Manuel Laflamme
@@ -38,7 +38,7 @@
{
protected IDatabaseConnection _connection;
- protected final Log logger = LogFactory.getLog(getClass());
+ protected final Logger logger = LoggerFactory.getLogger(getClass());
public AbstractDatabaseTest(String s)
{
@@ -75,7 +75,7 @@
return getEnvironment().getDatabaseTester();
}
catch( Exception e ){
- logger.fatal( e );
+ logger.error("getDatabaseTester()", e );
// empty
}
return super.getDatabaseTester();
Modified: trunk/src/test/org/dbunit/AbstractDatabaseTesterTest.java
===================================================================
--- trunk/src/test/org/dbunit/AbstractDatabaseTesterTest.java 2008-02-04 14:54:42 UTC (rev 560)
+++ trunk/src/test/org/dbunit/AbstractDatabaseTesterTest.java 2008-02-05 21:47:52 UTC (rev 561)
@@ -23,13 +23,13 @@
import junit.framework.TestCase;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
import org.dbunit.database.IDatabaseConnection;
import org.dbunit.dataset.IDataSet;
import org.dbunit.dataset.ITable;
import org.dbunit.dataset.SortedTable;
import org.dbunit.operation.DatabaseOperation;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
/**
* @author Andres Almiray <aal...@us...>
@@ -39,7 +39,7 @@
protected IDatabaseConnection _connection;
protected IDatabaseTester _databaseTester;
- protected final Log logger = LogFactory.getLog( getClass() );
+ protected final Logger logger = LoggerFactory.getLogger( getClass() );
public AbstractDatabaseTesterTest( String s )
{
Modified: trunk/src/test/org/dbunit/AbstractHSQLTestCase.java
===================================================================
--- trunk/src/test/org/dbunit/AbstractHSQLTestCase.java 2008-02-04 14:54:42 UTC (rev 560)
+++ trunk/src/test/org/dbunit/AbstractHSQLTestCase.java 2008-02-05 21:47:52 UTC (rev 561)
@@ -6,13 +6,14 @@
import junit.framework.TestCase;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
import org.dbunit.database.DatabaseConnection;
import org.dbunit.database.IDatabaseConnection;
import org.dbunit.util.CollectionsHelper;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
public abstract class AbstractHSQLTestCase extends TestCase {
public static final String A = "A";
@@ -59,7 +60,7 @@
private final String sqlFile;
private IDatabaseConnection connection;
- protected final Log logger = LogFactory.getLog(getClass());
+ protected final Logger logger = LoggerFactory.getLogger(getClass());
public AbstractHSQLTestCase(String testName, String sqlFile) {
super(testName);
Modified: trunk/src/test/org/dbunit/dataset/AbstractTableTest.java
===================================================================
--- trunk/src/test/org/dbunit/dataset/AbstractTableTest.java 2008-02-04 14:54:42 UTC (rev 560)
+++ trunk/src/test/org/dbunit/dataset/AbstractTableTest.java 2008-02-05 21:47:52 UTC (rev 561)
@@ -21,11 +21,11 @@
package org.dbunit.dataset;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-
import junit.framework.TestCase;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
/**
* @author Manuel Laflamme
* @version $Revision$
@@ -36,7 +36,7 @@
protected static final int ROW_COUNT = 6;
protected static final int COLUMN_COUNT = 4;
- protected final Log logger = LogFactory.getLog(getClass());
+ protected final Logger logger = LoggerFactory.getLogger(getClass());
public AbstractTableTest(String s)
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rlo...@us...> - 2008-02-04 14:54:46
|
Revision: 560
http://dbunit.svn.sourceforge.net/dbunit/?rev=560&view=rev
Author: rlogiacco
Date: 2008-02-04 06:54:42 -0800 (Mon, 04 Feb 2008)
Log Message:
-----------
[ 1849165 ] Bug in XmlWriter / escapeXml
Submitted by: mthielen
Modified Paths:
--------------
trunk/src/java/org/dbunit/util/xml/XmlWriter.java
Modified: trunk/src/java/org/dbunit/util/xml/XmlWriter.java
===================================================================
--- trunk/src/java/org/dbunit/util/xml/XmlWriter.java 2008-02-04 14:54:18 UTC (rev 559)
+++ trunk/src/java/org/dbunit/util/xml/XmlWriter.java 2008-02-04 14:54:42 UTC (rev 560)
@@ -472,6 +472,7 @@
str = replace(str, ">", ">");
str = replace(str, "\"", """);
str = replace(str, "'", "'");
+ str = replace(str, " ", "	");
return str;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rlo...@us...> - 2008-02-04 14:54:26
|
Revision: 559
http://dbunit.svn.sourceforge.net/dbunit/?rev=559&view=rev
Author: rlogiacco
Date: 2008-02-04 06:54:18 -0800 (Mon, 04 Feb 2008)
Log Message:
-----------
[ 1849219 ] NullPointerException in FlatDtdProducer.java at line 224
Submitted by: jensfransson
Modified Paths:
--------------
trunk/src/java/org/dbunit/dataset/xml/FlatDtdProducer.java
Modified: trunk/src/java/org/dbunit/dataset/xml/FlatDtdProducer.java
===================================================================
--- trunk/src/java/org/dbunit/dataset/xml/FlatDtdProducer.java 2008-02-04 13:50:31 UTC (rev 558)
+++ trunk/src/java/org/dbunit/dataset/xml/FlatDtdProducer.java 2008-02-04 14:54:18 UTC (rev 559)
@@ -248,16 +248,28 @@
// Support all sequence or choices model but not the mix of both.
String delim = (rootModel.indexOf(",") != -1) ? "," : "|";
StringTokenizer tokenizer = new StringTokenizer(rootModel, delim);
- while (tokenizer.hasMoreTokens())
- {
+ while (tokenizer.hasMoreTokens()) {
String tableName = tokenizer.nextToken();
// Prune ending occurrence operator
- if (tableName.endsWith("*") || tableName.endsWith("?") || tableName.endsWith("+"))
- {
+ if (tableName.endsWith("*") || tableName.endsWith("?") || tableName.endsWith("+")) {
tableName = tableName.substring(0, tableName.length() - 1);
}
+ // Interestingly, sometimes a table comes in brackets, e.g. "(mytablename)"
+ // These must be removed because otherwise the list of columns associated with the table
+ // can not be retrieved from the map, i.e. the list of columns (columnList) is null.
+ // This leads to a NullPointerException in DB-Unit 2.2 when columnList is being accessed.
+ // Patch for NullPointerException starts here
+ if (tableName.startsWith("(")) {
+ tableName = tableName.substring(1, tableName.length() - 1);
+ }
+
+ if (tableName.endsWith(")")) {
+ tableName = tableName.substring(0, tableName.length() - 1);
+ }
+ // Patch for NullPointerException ends here
+
List columnList = (List)_columnListMap.get(tableName);
Column[] columns = (Column[])columnList.toArray(new Column[0]);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rlo...@us...> - 2008-02-04 13:50:36
|
Revision: 558
http://dbunit.svn.sourceforge.net/dbunit/?rev=558&view=rev
Author: rlogiacco
Date: 2008-02-04 05:50:31 -0800 (Mon, 04 Feb 2008)
Log Message:
-----------
temporary fix to unsupported logging statements
Modified Paths:
--------------
trunk/src/java/org/dbunit/ant/DbUnitTask.java
trunk/src/java/org/dbunit/dataset/csv/CsvProducer.java
trunk/src/java/org/dbunit/dataset/csv/CsvURLProducer.java
trunk/src/java/org/dbunit/dataset/stream/DataSetProducerAdapter.java
trunk/src/java/org/dbunit/dataset/xml/FlatDtdProducer.java
trunk/src/java/org/dbunit/dataset/xml/FlatXmlProducer.java
trunk/src/java/org/dbunit/dataset/xml/XmlProducer.java
trunk/src/java/org/dbunit/ext/mssql/InsertIdentityOperation.java
trunk/src/java/org/dbunit/operation/AbstractBatchOperation.java
trunk/src/java/org/dbunit/operation/RefreshOperation.java
Modified: trunk/src/java/org/dbunit/ant/DbUnitTask.java
===================================================================
--- trunk/src/java/org/dbunit/ant/DbUnitTask.java 2008-02-04 13:49:15 UTC (rev 557)
+++ trunk/src/java/org/dbunit/ant/DbUnitTask.java 2008-02-04 13:50:31 UTC (rev 558)
@@ -272,7 +272,7 @@
*/
public void addOperation(Operation operation)
{
- logger.debug("addOperation(operation=" + operation + ") - start");
+ logger.debug("addOperation(operation) - start");
steps.add(operation);
}
@@ -282,7 +282,7 @@
*/
public void addCompare(Compare compare)
{
- logger.debug("addCompare(compare=" + compare + ") - start");
+ logger.debug("addCompare(compare) - start");
steps.add(compare);
}
@@ -292,7 +292,7 @@
*/
public void addExport(Export export)
{
- logger.debug("addExport(export=" + export + ") - start");
+ logger.debug("addExport(export) - start");
export.setParentTask(this);
steps.add(export);
Modified: trunk/src/java/org/dbunit/dataset/csv/CsvProducer.java
===================================================================
--- trunk/src/java/org/dbunit/dataset/csv/CsvProducer.java 2008-02-04 13:49:15 UTC (rev 557)
+++ trunk/src/java/org/dbunit/dataset/csv/CsvProducer.java 2008-02-04 13:50:31 UTC (rev 558)
@@ -70,7 +70,7 @@
}
public void setConsumer(IDataSetConsumer consumer) throws DataSetException {
- logger.debug("setConsumer(consumer=" + consumer + ") - start");
+ logger.debug("setConsumer(consumer) - start");
_consumer = consumer;
}
Modified: trunk/src/java/org/dbunit/dataset/csv/CsvURLProducer.java
===================================================================
--- trunk/src/java/org/dbunit/dataset/csv/CsvURLProducer.java 2008-02-04 13:49:15 UTC (rev 557)
+++ trunk/src/java/org/dbunit/dataset/csv/CsvURLProducer.java 2008-02-04 13:50:31 UTC (rev 558)
@@ -84,7 +84,7 @@
* @see IDataSetProducer#setConsumer(org.dbunit.dataset.stream.IDataSetConsumer)
*/
public void setConsumer(IDataSetConsumer consumer) throws DataSetException {
- logger.debug("setConsumer(consumer=" + consumer + ") - start");
+ logger.debug("setConsumer(consumer) - start");
_consumer = consumer;
}
Modified: trunk/src/java/org/dbunit/dataset/stream/DataSetProducerAdapter.java
===================================================================
--- trunk/src/java/org/dbunit/dataset/stream/DataSetProducerAdapter.java 2008-02-04 13:49:15 UTC (rev 557)
+++ trunk/src/java/org/dbunit/dataset/stream/DataSetProducerAdapter.java 2008-02-04 13:50:31 UTC (rev 558)
@@ -59,7 +59,7 @@
public void setConsumer(IDataSetConsumer consumer) throws DataSetException
{
- logger.debug("setConsumer(consumer=" + consumer + ") - start");
+ logger.debug("setConsumer(consumer) - start");
_consumer = consumer;
}
Modified: trunk/src/java/org/dbunit/dataset/xml/FlatDtdProducer.java
===================================================================
--- trunk/src/java/org/dbunit/dataset/xml/FlatDtdProducer.java 2008-02-04 13:49:15 UTC (rev 557)
+++ trunk/src/java/org/dbunit/dataset/xml/FlatDtdProducer.java 2008-02-04 13:50:31 UTC (rev 558)
@@ -112,7 +112,7 @@
public void setConsumer(IDataSetConsumer consumer) throws DataSetException
{
- logger.debug("setConsumer(consumer=" + consumer + ") - start");
+ logger.debug("setConsumer(consumer) - start");
_consumer = consumer;
}
Modified: trunk/src/java/org/dbunit/dataset/xml/FlatXmlProducer.java
===================================================================
--- trunk/src/java/org/dbunit/dataset/xml/FlatXmlProducer.java 2008-02-04 13:49:15 UTC (rev 557)
+++ trunk/src/java/org/dbunit/dataset/xml/FlatXmlProducer.java 2008-02-04 13:50:31 UTC (rev 558)
@@ -134,7 +134,7 @@
public void setConsumer(IDataSetConsumer consumer) throws DataSetException
{
- logger.debug("setConsumer(consumer=" + consumer + ") - start");
+ logger.debug("setConsumer(consumer) - start");
_consumer = consumer;
}
Modified: trunk/src/java/org/dbunit/dataset/xml/XmlProducer.java
===================================================================
--- trunk/src/java/org/dbunit/dataset/xml/XmlProducer.java 2008-02-04 13:49:15 UTC (rev 557)
+++ trunk/src/java/org/dbunit/dataset/xml/XmlProducer.java 2008-02-04 13:50:31 UTC (rev 558)
@@ -108,7 +108,7 @@
public void setConsumer(IDataSetConsumer consumer) throws DataSetException
{
- logger.debug("setConsumer(consumer=" + consumer + ") - start");
+ logger.debug("setConsumer(consumer) - start");
_consumer = consumer;
}
Modified: trunk/src/java/org/dbunit/ext/mssql/InsertIdentityOperation.java
===================================================================
--- trunk/src/java/org/dbunit/ext/mssql/InsertIdentityOperation.java 2008-02-04 13:49:15 UTC (rev 557)
+++ trunk/src/java/org/dbunit/ext/mssql/InsertIdentityOperation.java 2008-02-04 13:50:31 UTC (rev 558)
@@ -131,7 +131,7 @@
public void execute(IDatabaseConnection connection, IDataSet dataSet)
throws DatabaseUnitException, SQLException
{
- logger.debug("execute(connection=" + connection + ", dataSet=" + dataSet + ") - start");
+ logger.debug("execute(connection=" + connection + ", dataSet) - start");
Connection jdbcConnection = connection.getConnection();
Statement statement = jdbcConnection.createStatement();
Modified: trunk/src/java/org/dbunit/operation/AbstractBatchOperation.java
===================================================================
--- trunk/src/java/org/dbunit/operation/AbstractBatchOperation.java 2008-02-04 13:49:15 UTC (rev 557)
+++ trunk/src/java/org/dbunit/operation/AbstractBatchOperation.java 2008-02-04 13:50:31 UTC (rev 558)
@@ -92,7 +92,7 @@
*/
protected ITableIterator iterator(IDataSet dataSet) throws DatabaseUnitException
{
- logger.debug("iterator(dataSet=" + dataSet + ") - start");
+ logger.debug("iterator(dataSet) - start");
return dataSet.iterator();
}
@@ -131,7 +131,7 @@
public void execute(IDatabaseConnection connection, IDataSet dataSet)
throws DatabaseUnitException, SQLException
{
- logger.debug("execute(connection=" + connection + ", dataSet=" + dataSet + ") - start");
+ logger.debug("execute(connection=" + connection + ", dataSet) - start");
DatabaseConfig databaseConfig = connection.getConfig();
IStatementFactory factory = (IStatementFactory)databaseConfig.getProperty(
Modified: trunk/src/java/org/dbunit/operation/RefreshOperation.java
===================================================================
--- trunk/src/java/org/dbunit/operation/RefreshOperation.java 2008-02-04 13:49:15 UTC (rev 557)
+++ trunk/src/java/org/dbunit/operation/RefreshOperation.java 2008-02-04 13:50:31 UTC (rev 558)
@@ -83,7 +83,7 @@
public void execute(IDatabaseConnection connection, IDataSet dataSet)
throws DatabaseUnitException, SQLException
{
- logger.debug("execute(connection=" + connection + ", dataSet=" + dataSet + ") - start");
+ logger.debug("execute(connection=" + connection + ", dataSet) - start");
// for each table
ITableIterator iterator = dataSet.iterator();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rlo...@us...> - 2008-02-04 13:49:20
|
Revision: 557
http://dbunit.svn.sourceforge.net/dbunit/?rev=557&view=rev
Author: rlogiacco
Date: 2008-02-04 05:49:15 -0800 (Mon, 04 Feb 2008)
Log Message:
-----------
added two items to svn ignores
Property Changed:
----------------
trunk/
Property changes on: trunk
___________________________________________________________________
Name: svn:ignore
- *.log
.classpath
target
*.ser
junit*.properties
.project
spy.*
tmp
idea
.settings
release.properties
+ *.log
.classpath
target
*.ser
junit*.properties
.project
spy.*
tmp
idea
.settings
release.properties
tempdb.lck
bin
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rlo...@us...> - 2008-02-04 13:47:29
|
Revision: 556
http://dbunit.svn.sourceforge.net/dbunit/?rev=556&view=rev
Author: rlogiacco
Date: 2008-02-04 05:47:26 -0800 (Mon, 04 Feb 2008)
Log Message:
-----------
removed verbose output on test execution
Modified Paths:
--------------
trunk/pom.xml
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2008-02-04 12:46:35 UTC (rev 555)
+++ trunk/pom.xml 2008-02-04 13:47:26 UTC (rev 556)
@@ -250,7 +250,7 @@
<dependency>
<groupId>org.slf4j</groupId>
- <artifactId>slf4j-simple</artifactId>
+ <artifactId>slf4j-nop</artifactId>
<version>1.4.3</version>
<scope>test</scope>
</dependency>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rlo...@us...> - 2008-02-04 12:46:44
|
Revision: 555
http://dbunit.svn.sourceforge.net/dbunit/?rev=555&view=rev
Author: rlogiacco
Date: 2008-02-04 04:46:35 -0800 (Mon, 04 Feb 2008)
Log Message:
-----------
added test dependency for slf4j
Modified Paths:
--------------
trunk/pom.xml
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2007-10-12 01:13:57 UTC (rev 554)
+++ trunk/pom.xml 2008-02-04 12:46:35 UTC (rev 555)
@@ -243,10 +243,17 @@
</dependency>
<dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- <version>1.4.3</version>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ <version>1.4.3</version>
</dependency>
+
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-simple</artifactId>
+ <version>1.4.3</version>
+ <scope>test</scope>
+ </dependency>
</dependencies>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fel...@us...> - 2007-02-11 20:46:50
|
Revision: 552
http://svn.sourceforge.net/dbunit/?rev=552&view=rev
Author: felipeal
Date: 2007-02-11 12:46:49 -0800 (Sun, 11 Feb 2007)
Log Message:
-----------
removed extra >>>>
Modified Paths:
--------------
trunk/src/site/apt/building.apt
Modified: trunk/src/site/apt/building.apt
===================================================================
--- trunk/src/site/apt/building.apt 2007-02-11 20:46:41 UTC (rev 551)
+++ trunk/src/site/apt/building.apt 2007-02-11 20:46:49 UTC (rev 552)
@@ -54,7 +54,7 @@
Once new code is incorporated in the SVN code, it is necessary to update the Maven 2 repository with new snapshots, and also update the site. These 2 tasks can be done with a simple command:
---
-mvn -Pofficial clean source:jar javadoc:jar deploy site:deploy>>>
+mvn -Pofficial clean source:jar javadoc:jar deploy site:deploy
---
Cutting a release
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fel...@us...> - 2007-02-11 20:46:45
|
Revision: 551
http://svn.sourceforge.net/dbunit/?rev=551&view=rev
Author: felipeal
Date: 2007-02-11 12:46:41 -0800 (Sun, 11 Feb 2007)
Log Message:
-----------
added M2 plugin
Modified Paths:
--------------
trunk/src/site/site.xml
Modified: trunk/src/site/site.xml
===================================================================
--- trunk/src/site/site.xml 2007-02-11 20:19:52 UTC (rev 550)
+++ trunk/src/site/site.xml 2007-02-11 20:46:41 UTC (rev 551)
@@ -3,7 +3,8 @@
<body>
<menu name="Quick Links">
- <item name="Maven 1.x Plugin" href="http://maven-plugins.sourceforge.net/maven-dbunit-plugin/index.html"/>
+ <item name="Maven 1.x Plugin" href="http://maven-plugins.sourceforge.net/maven-dbunit-plugin/index.html"/>
+ <item name="Maven 2 Plugin" href="http://mojo.codehaus.org/dbunit-maven-plugin/"/>
<item name="Download" href="http://sourceforge.net/project/showfiles.php?group_id=47439&release_id=242511"/>
<item name="Changes" href="/changes-report.html"/>
<item name="FAQ" href="/faq.html"/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fel...@us...> - 2007-02-11 20:19:54
|
Revision: 550
http://svn.sourceforge.net/dbunit/?rev=550&view=rev
Author: felipeal
Date: 2007-02-11 12:19:52 -0800 (Sun, 11 Feb 2007)
Log Message:
-----------
added missing parenthesis (thanks Nilo de Roock for pointing it out)
Modified Paths:
--------------
trunk/src/site/fml/faq.fml
Modified: trunk/src/site/fml/faq.fml
===================================================================
--- trunk/src/site/fml/faq.fml 2006-12-28 14:23:53 UTC (rev 549)
+++ trunk/src/site/fml/faq.fml 2007-02-11 20:19:52 UTC (rev 550)
@@ -97,7 +97,7 @@
String[] depTableNames =
TablesDependencyHelper.getAllDependentTables( connection, "X" );
IDataSet depDataset = connection.createDataSet( depTableNames );
- FlatXmlDataSet.write(depDataSet, new FileOutputStream("dependents.xml");
+ FlatXmlDataSet.write(depDataSet, new FileOutputStream("dependents.xml"));
}
}</source></p> </answer>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fel...@us...> - 2006-12-28 14:23:55
|
Revision: 549
http://svn.sourceforge.net/dbunit/?rev=549&view=rev
Author: felipeal
Date: 2006-12-28 06:23:53 -0800 (Thu, 28 Dec 2006)
Log Message:
-----------
spell checking fix
Modified Paths:
--------------
trunk/src/site/fml/faq.fml
Property Changed:
----------------
trunk/src/site/fml/faq.fml
Modified: trunk/src/site/fml/faq.fml
===================================================================
(Binary files differ)
Property changes on: trunk/src/site/fml/faq.fml
___________________________________________________________________
Name: svn:mime-type
- application/octet-stream
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fel...@us...> - 2006-12-28 04:50:24
|
Revision: 548
http://svn.sourceforge.net/dbunit/?rev=548&view=rev
Author: felipeal
Date: 2006-12-27 20:50:23 -0800 (Wed, 27 Dec 2006)
Log Message:
-----------
fixed release dir
Modified Paths:
--------------
trunk/pom.xml
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2006-12-28 04:34:38 UTC (rev 547)
+++ trunk/pom.xml 2006-12-28 04:50:23 UTC (rev 548)
@@ -335,7 +335,7 @@
<toAddress implementation="java.lang.String">dbu...@li...</toAddress>
<toAddress implementation="java.lang.String">dbu...@li...</toAddress>
</toAddresses>
- <urlDownload>http://sourceforge.net/project/showfiles.php?group_id=47439&release_id=242511</urlDownload>
+ <urlDownload>http://sourceforge.net/project/showfiles.php?group_id=47439</urlDownload>
<issueLinkTemplate>%URL%?func=detail&aid=%ISSUE%&group_id=47439&atid=449494</issueLinkTemplate>
</configuration>
<reportSets>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fel...@us...> - 2006-12-28 04:34:41
|
Revision: 547
http://svn.sourceforge.net/dbunit/?rev=547&view=rev
Author: felipeal
Date: 2006-12-27 20:34:38 -0800 (Wed, 27 Dec 2006)
Log Message:
-----------
minor fixes after releasing 2.2
Modified Paths:
--------------
trunk/pom.xml
trunk/src/changes/changes.xml
trunk/src/site/apt/building.apt
trunk/src/site/xdoc/index.xml
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2006-12-28 03:53:01 UTC (rev 546)
+++ trunk/pom.xml 2006-12-28 04:34:38 UTC (rev 547)
@@ -306,7 +306,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<configuration>
- <goals>source:jar javadoc:jar deploy site:deploy repository:bundle-create</goals>
+ <goals>source:jar javadoc:jar deploy site:site site:deploy repository:bundle-create</goals>
</configuration>
</plugin>
<!-- TODO: add cobertura and other plugins that would fail the build, like PMD, cobertura and checkstyle-->
@@ -330,7 +330,7 @@
<configuration>
<smtpHost>localhost</smtpHost>
<smtpPort implementation="java.lang.Integer">25</smtpPort>
- <introduction>This is a long-awaited new DbUnit official release, generated more than 2 years after DbUnit 2.1!</introduction>
+ <introduction>If you are reading this, the maintainer forgot to descrive what's the purpose of this release!!!</introduction>
<toAddresses>
<toAddress implementation="java.lang.String">dbu...@li...</toAddress>
<toAddress implementation="java.lang.String">dbu...@li...</toAddress>
@@ -356,7 +356,7 @@
<url>scpexe://ssh.sourceforge.net/home/groups/d/db/dbunit/htdocs/repo/snapshots</url>
</snapshotRepository>
<repository>
- <id>sf_snapshots</id>
+ <id>sf_official</id>
<name>SourceForge Snapshot</name>
<url>scpexe://ssh.sourceforge.net/home/groups/d/db/dbunit/htdocs/repo/official</url>
</repository>
Modified: trunk/src/changes/changes.xml
===================================================================
--- trunk/src/changes/changes.xml 2006-12-28 03:53:01 UTC (rev 546)
+++ trunk/src/changes/changes.xml 2006-12-28 04:34:38 UTC (rev 547)
@@ -7,7 +7,7 @@
</properties>
<body>
- <release version="2.2" date="IN CVS" description="">
+ <release version="2.2" date="December 28, 2006" description="First official release in a long, long time...">
<action dev="felipeal" type="add" issue="1473744" due-to="Andres Almiray">Enable TestCase compositions</action>
<action dev="felipeal" type="add">Migrate SCM to Subversion</action>
<action dev="felipeal" type="fix" issue="1494257" due-to="Bas Cancrinus">Support for MySQL 5.0 boolean datatype</action>
Modified: trunk/src/site/apt/building.apt
===================================================================
--- trunk/src/site/apt/building.apt 2006-12-28 03:53:01 UTC (rev 546)
+++ trunk/src/site/apt/building.apt 2006-12-28 04:34:38 UTC (rev 547)
@@ -83,7 +83,7 @@
[]
- And for the fifth step, create a {{{http://jira.codehaus.org/secure/CreateIssue.jspa?pid=10367&issuetype=3}Jira request}} and upload the <<<XXX/target/dbunit-RELEASE-bundle.jar>>>) file (see {{{http://maven.apache.org/guides/mini/guide-ibiblio-upload.html}Guide to uploading artifacts to The Central Repository}} for detailed instructions).
+ And for the fifth step, create a {{{http://jira.codehaus.org/secure/CreateIssue.jspa?pid=10367&issuetype=3}Jira request}} and upload the <<<XXX/target/dbunit-RELEASE-bundle.jar>>>) file (see {{{http://maven.apache.org/guides/mini/guide-ibiblio-upload.html}Guide to uploading artifacts to The Central Repository}} for detailed instructions). NOTE: it is also necessary to create dbunit-RELEASE.tar.gz and dbunit-RELEASE.zip - I think Maven does that, but could not test by the time of the 2.2 release.
The final step can also be done by Maven, using the {{{http://maven.apache.org/plugins/maven-changes-plugin/}Maven Changes Plugin}}:
Modified: trunk/src/site/xdoc/index.xml
===================================================================
--- trunk/src/site/xdoc/index.xml 2006-12-28 03:53:01 UTC (rev 546)
+++ trunk/src/site/xdoc/index.xml 2006-12-28 04:34:38 UTC (rev 547)
@@ -25,6 +25,10 @@
<section name="News">
<table border="1">
<tr>
+ <td>2006-12-28</td>
+ <td>Version 2.2 finally released!!!. See <a href="changes-report.html#2.2">changes</a>.</td>
+ </tr>
+ <tr>
<td>2006-12-20</td>
<td><a href="http://www.dbunit.org/cgi-bin/wiki.pl">Wiki</a> is back!. </td>
</tr>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fel...@us...> - 2006-12-28 03:53:03
|
Revision: 546
http://svn.sourceforge.net/dbunit/?rev=546&view=rev
Author: felipeal
Date: 2006-12-27 19:53:01 -0800 (Wed, 27 Dec 2006)
Log Message:
-----------
1482990: minor fixes
Modified Paths:
--------------
trunk/pom.xml
trunk/src/site/apt/building.apt
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2006-12-28 03:52:33 UTC (rev 545)
+++ trunk/pom.xml 2006-12-28 03:53:01 UTC (rev 546)
@@ -355,6 +355,11 @@
<name>SourceForge Snapshot</name>
<url>scpexe://ssh.sourceforge.net/home/groups/d/db/dbunit/htdocs/repo/snapshots</url>
</snapshotRepository>
+ <repository>
+ <id>sf_snapshots</id>
+ <name>SourceForge Snapshot</name>
+ <url>scpexe://ssh.sourceforge.net/home/groups/d/db/dbunit/htdocs/repo/official</url>
+ </repository>
<site>
<id>sf_website</id>
<url>scpexe://ssh.sourceforge.net/home/groups/d/db/dbunit/htdocs</url>
Modified: trunk/src/site/apt/building.apt
===================================================================
--- trunk/src/site/apt/building.apt 2006-12-28 03:52:33 UTC (rev 545)
+++ trunk/src/site/apt/building.apt 2006-12-28 03:53:01 UTC (rev 546)
@@ -73,7 +73,7 @@
mvn -Pofficial release:perform
---
- That last command has created all necesary files for the fourth and fifth steps in the XXX/target directory. So, for the fourth step, log in SourceForge and uploading the following files:
+ That last command has created all necesary files for the fourth and fifth steps in the <<<target/checkout/target>>> directory. So, for the fourth step, log in SourceForge and uploading the following files:
* <dbunit-RELEASE.jar>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fel...@us...> - 2006-12-28 03:52:35
|
Revision: 545
http://svn.sourceforge.net/dbunit/?rev=545&view=rev
Author: felipeal
Date: 2006-12-27 19:52:33 -0800 (Wed, 27 Dec 2006)
Log Message:
-----------
added repository
Modified Paths:
--------------
tags/release-2-2/pom.xml
Modified: tags/release-2-2/pom.xml
===================================================================
--- tags/release-2-2/pom.xml 2006-12-28 03:42:58 UTC (rev 544)
+++ tags/release-2-2/pom.xml 2006-12-28 03:52:33 UTC (rev 545)
@@ -355,6 +355,11 @@
<name>SourceForge Snapshot</name>
<url>scpexe://ssh.sourceforge.net/home/groups/d/db/dbunit/htdocs/repo/snapshots</url>
</snapshotRepository>
+ <repository>
+ <id>sf_snapshots</id>
+ <name>SourceForge Snapshot</name>
+ <url>scpexe://ssh.sourceforge.net/home/groups/d/db/dbunit/htdocs/repo/official</url>
+ </repository>
<site>
<id>sf_website</id>
<url>scpexe://ssh.sourceforge.net/home/groups/d/db/dbunit/htdocs</url>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fel...@us...> - 2006-12-28 03:43:01
|
Revision: 544
http://svn.sourceforge.net/dbunit/?rev=544&view=rev
Author: felipeal
Date: 2006-12-27 19:42:58 -0800 (Wed, 27 Dec 2006)
Log Message:
-----------
[maven-release-plugin] prepare for next development iteration
Modified Paths:
--------------
trunk/pom.xml
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2006-12-28 03:42:50 UTC (rev 543)
+++ trunk/pom.xml 2006-12-28 03:42:58 UTC (rev 544)
@@ -4,7 +4,7 @@
<groupId>org.dbunit</groupId>
<artifactId>dbunit</artifactId>
<packaging>jar</packaging>
- <version>2.2</version>
+ <version>2.2.1-SNAPSHOT</version>
<name>DbUnit Framework</name>
<url>http://dbunit.sourceforge.net</url>
<!-- TODO - stuff below changed on M2; I think it went to Site plugin
@@ -26,9 +26,9 @@
</license>
</licenses>
<scm>
- <connection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/release-2-2</connection>
- <developerConnection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/release-2-2</developerConnection>
- <url>http://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/release-2-2</url>
+ <connection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</connection>
+ <developerConnection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</developerConnection>
+ <url>http://dbunit.svn.sourceforge.net/svnroot/dbunit/trunk</url>
</scm>
<issueManagement>
<system>SourceForge</system>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fel...@us...> - 2006-12-28 03:42:51
|
Revision: 543
http://svn.sourceforge.net/dbunit/?rev=543&view=rev
Author: felipeal
Date: 2006-12-27 19:42:50 -0800 (Wed, 27 Dec 2006)
Log Message:
-----------
[maven-scm] copy for tag release-2-2
Added Paths:
-----------
tags/release-2-2/
tags/release-2-2/pom.xml
Removed Paths:
-------------
tags/release-2-2/pom.xml
Copied: tags/release-2-2 (from rev 539, trunk)
Deleted: tags/release-2-2/pom.xml
===================================================================
--- trunk/pom.xml 2006-12-28 03:32:13 UTC (rev 539)
+++ tags/release-2-2/pom.xml 2006-12-28 03:42:50 UTC (rev 543)
@@ -1,422 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.dbunit</groupId>
- <artifactId>dbunit</artifactId>
- <packaging>jar</packaging>
- <version>2.2</version>
- <name>DbUnit Framework</name>
- <url>http://dbunit.sourceforge.net</url>
-<!-- TODO - stuff below changed on M2; I think it went to Site plugin
- <logo>http://dbunit.sourceforge.net/images/dbunit-logo.jpg</logo>
- <package>org.dbunit</package>
- <shortDescription>
- DbUnit is a JUnit extension targeted for database-driven projects
- </shortDescription>
--->
- <inceptionYear>2002</inceptionYear>
- <description>
- DbUnit is a JUnit extension (also usable from Ant) targeted for database-driven projects that, among other things, puts your database into a known state between test runs. This is an excellent way to avoid the myriad of problems that can occur when one test case corrupts the database and causes subsequent tests to fail or exacerbate the damage.
- </description>
- <licenses>
- <license>
- <name>GNU Lesser General Public License, Version 2.1</name>
- <url>http://www.gnu.org/copyleft/lesser.html</url>
- <distribution>repo</distribution>
- </license>
- </licenses>
- <scm>
- <connection>scm:svn:https://svn.sourceforge.net/svnroot/dbunit/tags/dbunit-2.2</connection>
- <developerConnection>scm:svn:https://svn.sourceforge.net/svnroot/dbunit/tags/dbunit-2.2</developerConnection>
- <url>http://dbunit.cvs.sourceforge.net/dbunit/tags/dbunit-2.2</url>
- </scm>
- <issueManagement>
- <system>SourceForge</system>
- <url>http://sourceforge.net/tracker/?group_id=47439</url>
- </issueManagement>
- <mailingLists>
- <mailingList>
- <name>DbUnit User List</name>
- <subscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-user</subscribe>
- <unsubscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-user</unsubscribe>
- <archive>http://sourceforge.net/mailarchive/forum.php?forum_id=8154</archive>
- </mailingList>
- <mailingList>
- <name>DbUnit Developer List</name>
- <subscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-developer</subscribe>
- <unsubscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-developer</unsubscribe>
- <archive>http://sourceforge.net/mailarchive/forum.php?forum_id=9162</archive>
- </mailingList>
- <mailingList>
- <name>DbUnit SVN Commit List</name>
- <subscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-commit</subscribe>
- <unsubscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-commit</unsubscribe>
- <archive>http://sourceforge.net/mailarchive/forum.php?forum_id=9771</archive>
- </mailingList>
- </mailingLists>
-
- <pluginRepositories>
- <pluginRepository>
- <id>snapshots</id>
- <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
- </pluginRepository>
- </pluginRepositories>
-
-
- <!-- who the developers are for the project -->
- <developers>
- <!-- put my name first, so my email is used by the announcements-email
- plugin -->
- <developer>
- <name>Felipe Leme</name>
- <id>felipeal</id>
- <email>db...@fe...</email>
- <organization>Falcon Informatica</organization>
- <timezone>-3</timezone>
- <roles>
- <role>Java Developer</role>
- </roles>
- </developer>
- <developer>
- <name>Benjamin Cox</name>
- <id>bdrum</id>
- <roles>
- <role>Java Developer</role>
- <!-- <role>Original Ant Task Contributor</role> -->
- </roles>
- </developer>
- <developer>
- <name>David Eric Pugh</name>
- <id>dep4b</id>
- <email>ep...@op...</email>
- <organization>OpenSource Connections</organization>
- <roles>
- <role>Java Developer</role>
- </roles>
- </developer>
- <developer>
- <name>Federico Spinazzi</name>
- <id>fspinazzi</id>
- <email>f.s...@ma...</email>
- <organization>Master House S.r.l</organization>
- <roles>
- <role>Java Developer</role>
- <!-- <role>DB2 Contributor</role> -->
- </roles>
- </developer>
- <developer>
- <name>Manuel Laflamme</name>
- <id>mlaflamm</id>
- <organization>Oz Communication</organization>
- <roles>
- <role>Project Founder</role>
- <!-- <role>Java Developer</role> -->
- </roles>
- </developer>
- <developer>
- <name>Timothy J. Ruppert</name>
- <id>zieggy</id>
- <roles>
- <role>Java Developer</role>
- <!-- <role>Original Ant Task Contributor</role> -->
- </roles>
- </developer>
- </developers>
-
- <contributors>
- <contributor>
- <name>Klas Axel</name>
- <roles>
- <role>HsqldbDataTypeFactory</role>
- </roles>
- </contributor>
- <contributor>
- <name>Erik Price</name>
- <roles>
- <role>DatabaseSequenceOperation</role>
- </roles>
- </contributor>
- <contributor>
- <name>Jeremy Stein</name>
- <roles>
- <role>InsertIndentityOperation</role>
- </roles>
- </contributor>
- <contributor>
- <name>Keven Kizer</name>
- <roles>
- <role>Early guinea pig</role>
- </roles>
- </contributor>
- <contributor>
- <name>Mike Bresnahan</name>
- <roles>
- <role>DbUnit evangelist</role>
- </roles>
- </contributor>
- <contributor>
- <name>Andres Almiray</name>
- <email>aal...@us...</email>
- <roles>
- <role>IDatabaseTester creator</role>
- </roles>
- </contributor>
- </contributors>
-
-
- <dependencies>
-
-<!-- TODO: check which dependencies could marked as optional.
- For instance, ant is optional because it's only necessary for the dbunit
- Ant tasks. -->
-
-<!-- TODO: add exclusion for dependencies that include xerces/xalan -->
-
- <!-- JUnit 3.8.2 fix that annoying 'expected: <....>' bug... -->
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.2</version>
- </dependency>
-
- <dependency>
- <groupId>junit-addons</groupId>
- <artifactId>junit-addons</artifactId>
- <version>1.4</version>
- </dependency>
- <dependency>
- <groupId>poi</groupId>
- <artifactId>poi</artifactId>
- <version>2.5.1-final-20040804</version>
- </dependency>
- <dependency>
- <groupId>ant</groupId>
- <artifactId>ant</artifactId>
-<!-- TODO: range-> 1.5.3-1 +
- <version>1.6.5</version>
- -->
- <version>1.5.4</version>
- <optional>true</optional>
- </dependency>
- <dependency>
- <groupId>commons-collections</groupId>
- <artifactId>commons-collections</artifactId>
- <version>3.1</version>
- </dependency>
- <dependency>
- <groupId>commons-lang</groupId>
- <artifactId>commons-lang</artifactId>
- <version>2.1</version>
- </dependency>
- <dependency>
- <groupId>mockobjects</groupId>
- <artifactId>mockobjects-core</artifactId>
- <version>0.07</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>mockmaker</groupId>
- <artifactId>mmmockobjects</artifactId>
- <version>1.12.0</version>
- <scope>test</scope>
- </dependency>
-<!-- TODO: check why follow dependency is necessary -->
- <dependency>
- <groupId>mockobjects</groupId>
- <artifactId>mockobjects-jdk1.3</artifactId>
- <version>0.07</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>hsqldb</groupId>
- <artifactId>hsqldb</artifactId>
- <version>1.8.0.1</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
-<!-- TODO: update or use range-->
- <version>1.0.4</version>
- </dependency>
-
- </dependencies>
-
- <build>
- <defaultGoal>install</defaultGoal>
- <sourceDirectory>src/java</sourceDirectory>
- <testSourceDirectory>src/test</testSourceDirectory>
-
- <!-- TODO: move to M2's expected path and separate java from test
- (once SCM is migrated to SVN...) -->
- <resources>
- <resource>
- <directory>src/java</directory>
- <includes>
- <include>**/dataset.dtd</include>
- </includes>
- </resource>
- <resource>
- <directory>src/csv</directory>
- <includes>
- <include>**/cvs-tests.properties</include>
- </includes>
- </resource>
-
- </resources>
-<!-- TODO: that are some resources on src that should be on test...
-
- <testResources>
- <testResource>
- </testResource>
- </testResources>
--->
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
-<!-- In some machines (at least on mine :-(, running AllTests is much
-faster then running all tests, but there is not guarantee that all tests will
-be run (i.e., a developer could create a new test file and forget to add it to
-AllTests)
- <includes>
- <include>org/dbunit/AllTests.java</include>
- </includes>
- -->
- <excludes>
- <exclude>**/Abstract*.java</exclude>
- </excludes>
- <includes>
- <include>**/*Test.java</include>
- </includes>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>1.3</source>
- <target>1.3</target>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-release-plugin</artifactId>
- <configuration>
- <goals>source:jar javadoc:jar deploy site:deploy repository:bundle-create</goals>
- </configuration>
- </plugin>
-<!-- TODO: add cobertura and other plugins that would fail the build, like PMD, cobertura and checkstyle-->
- </plugins>
- </build>
-
-<!-- basic reports - available to all plugins -->
- <reporting>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-report-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-project-info-reports-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-changes-plugin</artifactId>
- <configuration>
- <smtpHost>localhost</smtpHost>
- <smtpPort implementation="java.lang.Integer">25</smtpPort>
- <introduction>This is a long-awaited new DbUnit official release, generated more than 2 years after DbUnit 2.1!</introduction>
- <toAddresses>
- <toAddress implementation="java.lang.String">dbu...@li...</toAddress>
- <toAddress implementation="java.lang.String">dbu...@li...</toAddress>
- </toAddresses>
- <urlDownload>http://sourceforge.net/project/showfiles.php?group_id=47439&release_id=242511</urlDownload>
- <issueLinkTemplate>%URL%?func=detail&aid=%ISSUE%&group_id=47439&atid=449494</issueLinkTemplate>
- </configuration>
- <reportSets>
- <reportSet>
- <reports>
- <report>changes-report</report>
- </reports>
- </reportSet>
- </reportSets>
- </plugin>
- </plugins>
- </reporting>
-
- <distributionManagement>
- <snapshotRepository>
- <id>sf_snapshots</id>
- <name>SourceForge Snapshot</name>
- <url>scpexe://ssh.sourceforge.net/home/groups/d/db/dbunit/htdocs/repo/snapshots</url>
- </snapshotRepository>
- <site>
- <id>sf_website</id>
- <url>scpexe://ssh.sourceforge.net/home/groups/d/db/dbunit/htdocs</url>
- </site>
- </distributionManagement>
-
- <profiles>
- <profile>
- <id>official</id>
- <dependencies>
- <dependency>
- <groupId>javax.sql</groupId>
- <artifactId>jdbc-stdext</artifactId>
- <version>2.0</version>
- <optional>true</optional>
- </dependency>
- </dependencies>
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <fork>true</fork>
- <compilerVersion>1.3</compilerVersion>
- <executable>${JAVA_1_3_HOME}/bin/javac</executable>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
-
- <reporting>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jxr-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- </plugin>
-<!-- disabled for now, as reports show 100% coverage - see
-http://www.dbunit.org/cobertura/index.html
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>cobertura-maven-plugin</artifactId>
- </plugin>
--->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-changes-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-changelog-plugin</artifactId>
- </plugin>
- </plugins>
- </reporting>
- </profile>
- </profiles>
-
-</project>
-
Copied: tags/release-2-2/pom.xml (from rev 542, trunk/pom.xml)
===================================================================
--- tags/release-2-2/pom.xml (rev 0)
+++ tags/release-2-2/pom.xml 2006-12-28 03:42:50 UTC (rev 543)
@@ -0,0 +1,422 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.dbunit</groupId>
+ <artifactId>dbunit</artifactId>
+ <packaging>jar</packaging>
+ <version>2.2</version>
+ <name>DbUnit Framework</name>
+ <url>http://dbunit.sourceforge.net</url>
+<!-- TODO - stuff below changed on M2; I think it went to Site plugin
+ <logo>http://dbunit.sourceforge.net/images/dbunit-logo.jpg</logo>
+ <package>org.dbunit</package>
+ <shortDescription>
+ DbUnit is a JUnit extension targeted for database-driven projects
+ </shortDescription>
+-->
+ <inceptionYear>2002</inceptionYear>
+ <description>
+ DbUnit is a JUnit extension (also usable from Ant) targeted for database-driven projects that, among other things, puts your database into a known state between test runs. This is an excellent way to avoid the myriad of problems that can occur when one test case corrupts the database and causes subsequent tests to fail or exacerbate the damage.
+ </description>
+ <licenses>
+ <license>
+ <name>GNU Lesser General Public License, Version 2.1</name>
+ <url>http://www.gnu.org/copyleft/lesser.html</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+ <scm>
+ <connection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/release-2-2</connection>
+ <developerConnection>scm:svn:https://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/release-2-2</developerConnection>
+ <url>http://dbunit.svn.sourceforge.net/svnroot/dbunit/tags/release-2-2</url>
+ </scm>
+ <issueManagement>
+ <system>SourceForge</system>
+ <url>http://sourceforge.net/tracker/?group_id=47439</url>
+ </issueManagement>
+ <mailingLists>
+ <mailingList>
+ <name>DbUnit User List</name>
+ <subscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-user</subscribe>
+ <unsubscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-user</unsubscribe>
+ <archive>http://sourceforge.net/mailarchive/forum.php?forum_id=8154</archive>
+ </mailingList>
+ <mailingList>
+ <name>DbUnit Developer List</name>
+ <subscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-developer</subscribe>
+ <unsubscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-developer</unsubscribe>
+ <archive>http://sourceforge.net/mailarchive/forum.php?forum_id=9162</archive>
+ </mailingList>
+ <mailingList>
+ <name>DbUnit SVN Commit List</name>
+ <subscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-commit</subscribe>
+ <unsubscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-commit</unsubscribe>
+ <archive>http://sourceforge.net/mailarchive/forum.php?forum_id=9771</archive>
+ </mailingList>
+ </mailingLists>
+
+ <pluginRepositories>
+ <pluginRepository>
+ <id>snapshots</id>
+ <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
+ </pluginRepository>
+ </pluginRepositories>
+
+
+ <!-- who the developers are for the project -->
+ <developers>
+ <!-- put my name first, so my email is used by the announcements-email
+ plugin -->
+ <developer>
+ <name>Felipe Leme</name>
+ <id>felipeal</id>
+ <email>db...@fe...</email>
+ <organization>Falcon Informatica</organization>
+ <timezone>-3</timezone>
+ <roles>
+ <role>Java Developer</role>
+ </roles>
+ </developer>
+ <developer>
+ <name>Benjamin Cox</name>
+ <id>bdrum</id>
+ <roles>
+ <role>Java Developer</role>
+ <!-- <role>Original Ant Task Contributor</role> -->
+ </roles>
+ </developer>
+ <developer>
+ <name>David Eric Pugh</name>
+ <id>dep4b</id>
+ <email>ep...@op...</email>
+ <organization>OpenSource Connections</organization>
+ <roles>
+ <role>Java Developer</role>
+ </roles>
+ </developer>
+ <developer>
+ <name>Federico Spinazzi</name>
+ <id>fspinazzi</id>
+ <email>f.s...@ma...</email>
+ <organization>Master House S.r.l</organization>
+ <roles>
+ <role>Java Developer</role>
+ <!-- <role>DB2 Contributor</role> -->
+ </roles>
+ </developer>
+ <developer>
+ <name>Manuel Laflamme</name>
+ <id>mlaflamm</id>
+ <organization>Oz Communication</organization>
+ <roles>
+ <role>Project Founder</role>
+ <!-- <role>Java Developer</role> -->
+ </roles>
+ </developer>
+ <developer>
+ <name>Timothy J. Ruppert</name>
+ <id>zieggy</id>
+ <roles>
+ <role>Java Developer</role>
+ <!-- <role>Original Ant Task Contributor</role> -->
+ </roles>
+ </developer>
+ </developers>
+
+ <contributors>
+ <contributor>
+ <name>Klas Axel</name>
+ <roles>
+ <role>HsqldbDataTypeFactory</role>
+ </roles>
+ </contributor>
+ <contributor>
+ <name>Erik Price</name>
+ <roles>
+ <role>DatabaseSequenceOperation</role>
+ </roles>
+ </contributor>
+ <contributor>
+ <name>Jeremy Stein</name>
+ <roles>
+ <role>InsertIndentityOperation</role>
+ </roles>
+ </contributor>
+ <contributor>
+ <name>Keven Kizer</name>
+ <roles>
+ <role>Early guinea pig</role>
+ </roles>
+ </contributor>
+ <contributor>
+ <name>Mike Bresnahan</name>
+ <roles>
+ <role>DbUnit evangelist</role>
+ </roles>
+ </contributor>
+ <contributor>
+ <name>Andres Almiray</name>
+ <email>aal...@us...</email>
+ <roles>
+ <role>IDatabaseTester creator</role>
+ </roles>
+ </contributor>
+ </contributors>
+
+
+ <dependencies>
+
+<!-- TODO: check which dependencies could marked as optional.
+ For instance, ant is optional because it's only necessary for the dbunit
+ Ant tasks. -->
+
+<!-- TODO: add exclusion for dependencies that include xerces/xalan -->
+
+ <!-- JUnit 3.8.2 fix that annoying 'expected: <....>' bug... -->
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.2</version>
+ </dependency>
+
+ <dependency>
+ <groupId>junit-addons</groupId>
+ <artifactId>junit-addons</artifactId>
+ <version>1.4</version>
+ </dependency>
+ <dependency>
+ <groupId>poi</groupId>
+ <artifactId>poi</artifactId>
+ <version>2.5.1-final-20040804</version>
+ </dependency>
+ <dependency>
+ <groupId>ant</groupId>
+ <artifactId>ant</artifactId>
+<!-- TODO: range-> 1.5.3-1 +
+ <version>1.6.5</version>
+ -->
+ <version>1.5.4</version>
+ <optional>true</optional>
+ </dependency>
+ <dependency>
+ <groupId>commons-collections</groupId>
+ <artifactId>commons-collections</artifactId>
+ <version>3.1</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-lang</groupId>
+ <artifactId>commons-lang</artifactId>
+ <version>2.1</version>
+ </dependency>
+ <dependency>
+ <groupId>mockobjects</groupId>
+ <artifactId>mockobjects-core</artifactId>
+ <version>0.07</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>mockmaker</groupId>
+ <artifactId>mmmockobjects</artifactId>
+ <version>1.12.0</version>
+ <scope>test</scope>
+ </dependency>
+<!-- TODO: check why follow dependency is necessary -->
+ <dependency>
+ <groupId>mockobjects</groupId>
+ <artifactId>mockobjects-jdk1.3</artifactId>
+ <version>0.07</version>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>hsqldb</groupId>
+ <artifactId>hsqldb</artifactId>
+ <version>1.8.0.1</version>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+<!-- TODO: update or use range-->
+ <version>1.0.4</version>
+ </dependency>
+
+ </dependencies>
+
+ <build>
+ <defaultGoal>install</defaultGoal>
+ <sourceDirectory>src/java</sourceDirectory>
+ <testSourceDirectory>src/test</testSourceDirectory>
+
+ <!-- TODO: move to M2's expected path and separate java from test
+ (once SCM is migrated to SVN...) -->
+ <resources>
+ <resource>
+ <directory>src/java</directory>
+ <includes>
+ <include>**/dataset.dtd</include>
+ </includes>
+ </resource>
+ <resource>
+ <directory>src/csv</directory>
+ <includes>
+ <include>**/cvs-tests.properties</include>
+ </includes>
+ </resource>
+
+ </resources>
+<!-- TODO: that are some resources on src that should be on test...
+
+ <testResources>
+ <testResource>
+ </testResource>
+ </testResources>
+-->
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+<!-- In some machines (at least on mine :-(, running AllTests is much
+faster then running all tests, but there is not guarantee that all tests will
+be run (i.e., a developer could create a new test file and forget to add it to
+AllTests)
+ <includes>
+ <include>org/dbunit/AllTests.java</include>
+ </includes>
+ -->
+ <excludes>
+ <exclude>**/Abstract*.java</exclude>
+ </excludes>
+ <includes>
+ <include>**/*Test.java</include>
+ </includes>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.3</source>
+ <target>1.3</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-release-plugin</artifactId>
+ <configuration>
+ <goals>source:jar javadoc:jar deploy site:deploy repository:bundle-create</goals>
+ </configuration>
+ </plugin>
+<!-- TODO: add cobertura and other plugins that would fail the build, like PMD, cobertura and checkstyle-->
+ </plugins>
+ </build>
+
+<!-- basic reports - available to all plugins -->
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-report-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-changes-plugin</artifactId>
+ <configuration>
+ <smtpHost>localhost</smtpHost>
+ <smtpPort implementation="java.lang.Integer">25</smtpPort>
+ <introduction>This is a long-awaited new DbUnit official release, generated more than 2 years after DbUnit 2.1!</introduction>
+ <toAddresses>
+ <toAddress implementation="java.lang.String">dbu...@li...</toAddress>
+ <toAddress implementation="java.lang.String">dbu...@li...</toAddress>
+ </toAddresses>
+ <urlDownload>http://sourceforge.net/project/showfiles.php?group_id=47439&release_id=242511</urlDownload>
+ <issueLinkTemplate>%URL%?func=detail&aid=%ISSUE%&group_id=47439&atid=449494</issueLinkTemplate>
+ </configuration>
+ <reportSets>
+ <reportSet>
+ <reports>
+ <report>changes-report</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </plugin>
+ </plugins>
+ </reporting>
+
+ <distributionManagement>
+ <snapshotRepository>
+ <id>sf_snapshots</id>
+ <name>SourceForge Snapshot</name>
+ <url>scpexe://ssh.sourceforge.net/home/groups/d/db/dbunit/htdocs/repo/snapshots</url>
+ </snapshotRepository>
+ <site>
+ <id>sf_website</id>
+ <url>scpexe://ssh.sourceforge.net/home/groups/d/db/dbunit/htdocs</url>
+ </site>
+ </distributionManagement>
+
+ <profiles>
+ <profile>
+ <id>official</id>
+ <dependencies>
+ <dependency>
+ <groupId>javax.sql</groupId>
+ <artifactId>jdbc-stdext</artifactId>
+ <version>2.0</version>
+ <optional>true</optional>
+ </dependency>
+ </dependencies>
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <fork>true</fork>
+ <compilerVersion>1.3</compilerVersion>
+ <executable>${JAVA_1_3_HOME}/bin/javac</executable>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jxr-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ </plugin>
+<!-- disabled for now, as reports show 100% coverage - see
+http://www.dbunit.org/cobertura/index.html
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>cobertura-maven-plugin</artifactId>
+ </plugin>
+-->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-changes-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-changelog-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </reporting>
+ </profile>
+ </profiles>
+
+</project>
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|