diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2017-03-23 17:10:39 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2017-03-23 17:10:39 +0100 |
commit | 724efad67fe61d2c02c41af24ebc352eb79ff2f8 (patch) | |
tree | 777e62835ca2f6901d8d2542e328fcea403f9680 /java/MyMyBatis/build.xml | |
parent | bb1caf716a18b65fa42d7bed2369b66a0837d977 (diff) | |
download | share-724efad67fe61d2c02c41af24ebc352eb79ff2f8.zip share-724efad67fe61d2c02c41af24ebc352eb79ff2f8.tar.gz |
java : add MyMyBatis
Diffstat (limited to 'java/MyMyBatis/build.xml')
-rw-r--r-- | java/MyMyBatis/build.xml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/java/MyMyBatis/build.xml b/java/MyMyBatis/build.xml new file mode 100644 index 0000000..4d17c6c --- /dev/null +++ b/java/MyMyBatis/build.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns:ivy="antlib:org.apache.ivy.ant" + name="MyMyBatis" + basedir="." + default="test"> + + <target name="resolve" description="retrieve dependencies with Ivy"> + <ivy:resolve file="ivy.xml" log="download-only"/> + <ivy:cachepath pathid="ivy.deps.default" conf="default" /> + </target> + + <target name="compile" depends="resolve"> + <mkdir dir="./build" /> + <javac srcdir="./src" + destdir="./build" + includeantruntime="false"> + <classpath refid="ivy.deps.default"/> + <compilerarg value="-Xlint:all"/> + <compilerarg value="-Xlint:-processing"/> + </javac> + </target> + + <target name="test" depends="compile"> + <java classname="ch.asynk.Main" fork="true"> + <classpath> + <dirset dir="./src"/> + <dirset dir="./build"/> + </classpath> + <classpath refid="ivy.deps.default"/> + </java> + </target> + +</project> |