From 19ca81d3a7433bfa842fa50de95222817789b7c7 Mon Sep 17 00:00:00 2001 From: yugecin Date: Sun, 30 Apr 2017 01:53:32 +0200 Subject: [PATCH] add ant build.xml (+ivy) --- .gitignore | 5 +- build.xml | 151 +++++++++++++++++++++++++++++++++++++++++++++++++++++ ivy.xml | 38 ++++++++++++++ 3 files changed, 193 insertions(+), 1 deletion(-) create mode 100644 build.xml create mode 100644 ivy.xml diff --git a/.gitignore b/.gitignore index 6348415d..a3dd06d2 100644 --- a/.gitignore +++ b/.gitignore @@ -29,4 +29,7 @@ build/ Thumbs.db -/target \ No newline at end of file +/target +/out/ +/libs/ +/mvnlibs/ \ No newline at end of file diff --git a/build.xml b/build.xml new file mode 100644 index 00000000..96fde753 --- /dev/null +++ b/build.xml @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + +ant clean --> clean the ant working dir +ant cleanlib --> clean the lib folder +ant ivyresolve --> resolve dependencies using ivy +ant mvnresolve --> resolve dependencies using mvn +ant compile --> compile the code +ant run --> prepare to run and run +ant jar --> package a jar + +resolve dependencies first +(using either mvnresolve or ivyresolve), +then run (code is compiled automatically when you run) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ivy.xml b/ivy.xml new file mode 100644 index 00000000..1573a486 --- /dev/null +++ b/ivy.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file