• R/O
  • SSH
  • HTTPS

dbdiffreport: 提交


Commit MetaInfo

修订版372 (tree)
时间2022-08-07 19:17:19
作者t0145jp

Log Message

(empty log message)

更改概述

差异

--- trunk/mybatisPlugins/test.bat (revision 371)
+++ trunk/mybatisPlugins/test.bat (nonexistent)
@@ -1,2 +0,0 @@
1-java -cp org.mybatis.generator.core_1.4.1.jar;postgresql-42.2.18.jar;bin org.mybatis.generator.api.ShellRunner -configfile generatorConfig.xml -overwrite
2-pause
--- trunk/mybatisPlugins/build.bat (nonexistent)
+++ trunk/mybatisPlugins/build.bat (revision 372)
@@ -0,0 +1,2 @@
1+java -cp org.mybatis.generator.core_1.4.1.jar;postgresql-42.2.18.jar;bin org.mybatis.generator.api.ShellRunner -configfile generatorConfig.xml -overwrite
2+pause
--- trunk/mybatisPlugins/build.xml (nonexistent)
+++ trunk/mybatisPlugins/build.xml (revision 372)
@@ -0,0 +1,42 @@
1+<project default="run" basedir=".">
2+ <property name="src" value="./src" />
3+ <property name="tmp" value="./tmp" />
4+ <property name="jar" value="./sample.jar.zip" />
5+ <path id="class.path">
6+ <fileset dir="lib" includes="*.jar" />
7+ <dirset dir="bin" />
8+ </path>
9+
10+ <target name="run" depends="genfiles"
11+ description="compile java sources">
12+ <javac srcdir="${src}" destdir="${tmp}" includes="**/*.java"
13+ listfiles="yes" includeantruntime="false">
14+ <classpath refid="class.path" />
15+ </javac>
16+ <copy todir="${tmp}">
17+ <fileset dir="${src}" />
18+ </copy>
19+ <jar destfile="${jar}" basedir="${tmp}" />
20+ <delete dir="${tmp}"/>
21+ </target>
22+
23+ <target name="genfiles" description="Generate" depends="init">
24+ <taskdef name="mbgenerator"
25+ classname="org.mybatis.generator.ant.GeneratorAntTask"
26+ classpathref="class.path" />
27+ <mbgenerator overwrite="true"
28+ configfile="generatorConfig.xml" verbose="false">
29+ <propertyset>
30+ <propertyref name="${src}" />
31+ </propertyset>
32+ </mbgenerator>
33+ </target>
34+
35+ <target name="init" description="Initialize">
36+ <delete includeemptydirs="true">
37+ <fileset dir="${src}" includes="**/*" />
38+ </delete>
39+ <delete dir="${tmp}" />
40+ <mkdir dir="${tmp}" />
41+ </target>
42+</project>
\ No newline at end of file
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Show on old repository browser