Hello,
I am trying to upgrade my sql maps from 1.x to 2.0 using the ant
ConvertTask, but I keep getting ClassCastExceptions.
Here is my Ant config:
<taskdef name="convertSqlMaps"
classname="com.ibatis.db.sqlmap.upgrade.ConvertTask"
classpathref="ibatis-classpath"/>
<target name="convertMaps">
<convertSqlMaps todir="${build.dir}" overwrite="true"
verbose="true">
<fileset dir="${src.dir}/com/varis/smarttag/dao/ibatis/maps">
<include name="**/*.xml"/>
</fileset>
</convertSqlMaps>
</target>
And here is the only output from Ant:
Buildfile: C:\Workspace\SmartTag\build.xml
convertMaps:
[convertSqlMaps] Copying 12 files to C:\Workspace\SmartTag\build
BUILD FAILED: C:\Workspace\SmartTag\build.xml:333:
java.lang.ClassCastException
Total time: 1 second
Any ideas?
Steve