Hi folks,

DBUnit chokes on my Boolean values for HSQLDB. 

So I wrote my own datatypeFactory and added  it to the taskdef for dbunit as 
follows:

<taskdef name="dbunit" classname="org.dbunit.ant.DbUnitTask" 
classpathref="dao.test.classpath"
        datatypeFactory="ca.ottawa.eiad.eventscal.util.HsqlDataTypeFactory"
        />


I get  : 

BUILD FAILED
C:\appfuse\appfuseCalendar\build.xml:22: taskdef doesn't support the 
"datatypeFactory" attribute

I followed the advice at 
http://www.carbonfive.com/community/archives/2005/07/dbunit_hsql_and.html

....but no dice.

My knowledge of DBUnit + Ant is minimal; if anyone has tackled this problem 
successfully, please let me know, so I can write a contributtion to the Wiki.

Thanks,

Peder :)



This e-mail originates from the City of Ottawa e-mail system. Any
distribution, use or copying of this e-mail or the information it
contains by other than the intended recipient(s) is unauthorized.
If you are not the intended recipient, please notify me at the
telephone number shown above or by return e-mail and delete this
communication and any copy immediately. Thank you.

Le présent courriel a été expédié par le système de courriels de
la Ville d'Ottawa. Toute distribution, utilisation ou reproduction
du courriel ou des renseignements qui s'y trouvent par une
personne autre que son destinataire prévu est interdite. Si vous
avez reçu le message par erreur, veuillez m'en aviser par
téléphone (au numéro précité) ou par courriel, puis supprimer sans
délai la version originale de la communication ainsi que toutes
ses copies. Je vous remercie de votre collaboration.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to