diff options
author | snowleo <schneeleo@gmail.com> | 2011-09-18 01:07:43 +0200 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2011-09-18 01:07:43 +0200 |
commit | a6673c51572a20f3f1a1c08363fdefb80055c5fd (patch) | |
tree | 38296f81e700d5f5d51804585e5bef5a9bc6e107 | |
parent | 5ef7135fc80197350413da0c8f327c74456bc184 (diff) | |
download | Essentials-a6673c51572a20f3f1a1c08363fdefb80055c5fd.tar Essentials-a6673c51572a20f3f1a1c08363fdefb80055c5fd.tar.gz Essentials-a6673c51572a20f3f1a1c08363fdefb80055c5fd.tar.lz Essentials-a6673c51572a20f3f1a1c08363fdefb80055c5fd.tar.xz Essentials-a6673c51572a20f3f1a1c08363fdefb80055c5fd.zip |
One build file for all configurations
-rw-r--r-- | build.xml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/build.xml b/build.xml new file mode 100644 index 000000000..3d1c6ae47 --- /dev/null +++ b/build.xml @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project default="collect"> + <target name="setversion"> + <replace dir="." includes="**/src/plugin.yml" token="version: TeamCity" value="version: %build.number%"/> + <replace dir="." includes="**/src/messages*.properties" token="version: TeamCity" value="version: %build.number%"/> + <replace dir="." includes="**/src/items.csv" token="version: TeamCity" value="version: %build.number%"/> + </target> + <target name="buildall" depends="setversion"> + <ant dir="Essentials" antfile="build.xml"/> + <ant dir="EssentialsChat" antfile="build.xml"/> + <ant dir="EssentialsSpawn" antfile="build.xml"/> + <ant dir="EssentialsProtect" antfile="build.xml"/> + <ant dir="EssentialsGroupManager" antfile="build.xml"/> + <ant dir="EssentialsGroupBridge" antfile="build.xml"/> + <ant dir="EssentialsGeoIP" antfile="build.xml"/> + <ant dir="EssentialsXMPP" antfile="build.xml"/> + </target> + <target name="collect" depends="buildall"> + <mkdir dir="jars"/> + <copy todir="jars"> + <fileset dir="."> + <include name="**/dist/Essentials*.jar"/> + <include name="**/Essentials/src/config.yml" /> + <include name="**/src/messages*.properties" /> + <include name="**/src/items.csv" /> + </fileset> + <flattenmapper/> + </copy> + </target> +</project> |