ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Khanna, Vijay \(GE, Corporate, consultant\)" <vijay.kha...@ge.com>
Subject Maps 1.x to 2.x ANT task fails..
Date Wed, 16 Aug 2006 13:46:40 GMT
Hello I am trying to run the ANT task to convert sqlmaps from 1.x to
2.x. But getting ClassCastException.
 
OUTPUT
-------------
D:\supportcentral\v2.2_fixes\Ibatis_migration\xmlconversion>ant main
Buildfile: build.xml
 
main:
[convertSqlMaps] Copying 1 file to C:\convertSqlMaps
 
BUILD FAILED
D:\supportcentral\v2.2_fixes\Ibatis_migration\xmlconversion\build.xml:15
: java.lang.ClassCastException
 
Total time: 0 seconds
D:\supportcentral\v2.2_fixes\Ibatis_migration\xmlconversion>
 
BUILD.XML
-----------------
<project basedir="." default="main"> 
 
 <path id="lib.path">
  <fileset dir="lib/ibatis">
   <include name="**/*.jar"/>
  </fileset>
 </path>
 
 
 <taskdef name="convertSqlMaps"
  classname="com.ibatis.db.sqlmap.upgrade.ConvertTask"
  classpathref="lib.path"/>
 
 <target name="main">
        <convertSqlMaps todir="c:/convertSqlMaps"  overwrite="true">
   <fileset
dir="D:/supportcentral/v2.2_fixes/Ibatis_migration/xmlconversion/sqlmap-
1x">
    <include name="**/*.xml"/>
               </fileset>
          </convertSqlMaps>
 </target>
 
</project>
 
Thanks,
Vijay Khanna

 

Mime
View raw message