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}"/>
|
|
|
|
<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>
|
|
|
|
<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>
|