2011-09-18 01:07:43 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<project default="collect">
|
|
|
|
<target name="setversion">
|
2011-09-18 01:27:39 +02:00
|
|
|
<replace dir="." includes="**/src/plugin.yml" token="version: TeamCity" value="version: ${build.number}"/>
|
2012-01-17 18:24:22 +01:00
|
|
|
<replace dir="." includes="**/src/plugin.yml" token="version: GMBuildVer" value="version: ${GMVer} (${build.number})"/>
|
2011-09-18 01:27:39 +02:00
|
|
|
<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}"/>
|
2011-09-18 01:07:43 +02:00
|
|
|
</target>
|
2011-10-29 03:23:13 +02:00
|
|
|
<target name="buildGM" depends="setversion">
|
|
|
|
<ant dir="EssentialsGroupManager" antfile="build.xml"/>
|
|
|
|
</target>
|
|
|
|
<target name="buildEss" depends="buildGM">
|
2011-09-18 01:07:43 +02:00
|
|
|
<ant dir="Essentials" antfile="build.xml"/>
|
2011-10-29 05:31:56 +02:00
|
|
|
</target>
|
|
|
|
<target name="buildRest" depends="buildEss">
|
2011-09-18 01:07:43 +02:00
|
|
|
<ant dir="EssentialsChat" antfile="build.xml"/>
|
|
|
|
<ant dir="EssentialsSpawn" antfile="build.xml"/>
|
2012-08-18 22:19:00 +02:00
|
|
|
<ant dir="EssentialsAntiBuild" antfile="build.xml"/>
|
2011-09-18 01:07:43 +02:00
|
|
|
<ant dir="EssentialsProtect" antfile="build.xml"/>
|
|
|
|
<ant dir="EssentialsGeoIP" antfile="build.xml"/>
|
|
|
|
<ant dir="EssentialsXMPP" antfile="build.xml"/>
|
|
|
|
</target>
|
2011-10-29 05:31:56 +02:00
|
|
|
<target name="collect" depends="buildRest">
|
2011-09-18 01:07:43 +02:00
|
|
|
<mkdir dir="jars"/>
|
|
|
|
<copy todir="jars">
|
|
|
|
<fileset dir=".">
|
|
|
|
<include name="**/dist/Essentials*.jar"/>
|
2011-10-29 05:31:56 +02:00
|
|
|
<include name="**/Essentials/src/config.yml" />
|
|
|
|
<include name="**/src/messages*.properties" />
|
|
|
|
<include name="**/src/items.csv" />
|
2011-09-18 01:07:43 +02:00
|
|
|
</fileset>
|
|
|
|
<flattenmapper/>
|
|
|
|
</copy>
|
|
|
|
</target>
|
|
|
|
</project>
|