File tree 5 files changed +767
-3
lines changed
5 files changed +767
-3
lines changed Original file line number Diff line number Diff line change 23
23
<fileset dir =" destination" includes =" *.xml" />
24
24
</delete >
25
25
<!-- xslt convert sqlMaps 2 to mybatis 3 -->
26
- <xslt basedir =" source" style =" migrate.xslt" includes =" *.xml" destdir =" destination" extension =" .xml" />
26
+ <xslt basedir =" source" style =" migrate.xslt" includes =" *.xml" destdir =" destination" extension =" .xml" >
27
+ <xmlcatalog >
28
+ <dtd publicId =" -//ibatis.apache.org//DTD SQL Map 2.0//EN" location =" dtd/sql-map-2.dtd" />
29
+ <dtd publicId =" -//www.ibatis.com//DTD SQL Map 2.0//EN" location =" dtd/sql-map-2.dtd" />
30
+ <dtd publicId =" -//iBATIS.com//DTD SQL Map 2.0//EN" location =" dtd/sql-map-2.dtd" />
31
+ <dtd publicId =" -//ibatis.apache.org//DTD SQL Map Config 2.0//EN" location =" dtd/sql-map-config-2.dtd" />
32
+ <dtd publicId =" -//www.ibatis.com//DTD SQL Map Config 2.0//EN" location =" dtd/sql-map-2.dtd" />
33
+ <dtd publicId =" -//iBATIS.com//DTD SQL Map Config 2.0//EN" location =" dtd/sql-map-config-2.dtd" />
34
+ </xmlcatalog >
35
+
36
+ </xslt >
27
37
<!-- replace #id:NUMERIC# to #id,jdbcType=NUMERIC# etc. -->
28
38
<replace dir =" destination" includes =" *.xml" token =" :NUMERIC#" value =" ,jdbcType=NUMERIC#" encoding =" UTF8" />
29
39
<replace dir =" destination" includes =" *.xml" token =" :TIMESTAMP#" value =" ,jdbcType=TIMESTAMP#" encoding =" UTF8" />
49
59
<attribute name =" http://apache.org/xml/features/validation/schema" value =" false" />
50
60
<attribute name =" http://xml.org/sax/features/namespaces" value =" false" />
51
61
<fileset dir =" destination" includes =" *.xml" />
52
- <dtd publicId =" -//mybatis.org//DTD SQL Map Config 3.0//EN" location =" mybatis-3-config.dtd" />
53
- <dtd publicId =" -//mybatis.org//DTD Mapper 3.0//EN" location =" mybatis-3-mapper.dtd" />
62
+ <dtd publicId =" -//mybatis.org//DTD SQL Map Config 3.0//EN" location =" dtd/ mybatis-3-config.dtd" />
63
+ <dtd publicId =" -//mybatis.org//DTD Mapper 3.0//EN" location =" dtd/ mybatis-3-mapper.dtd" />
54
64
</xmlvalidate >
55
65
56
66
</target >
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments