2011-06-29 02:18:20 +02:00
|
|
|
<?xml version="1.0" ?>
|
2012-01-08 23:16:06 +01:00
|
|
|
<!DOCTYPE project>
|
2011-12-27 16:15:21 +01:00
|
|
|
<project default="main">
|
2011-06-29 02:18:20 +02:00
|
|
|
|
2011-07-19 19:56:40 +02:00
|
|
|
<property environment="env"/>
|
|
|
|
|
2011-06-29 02:18:20 +02:00
|
|
|
<path id="classpath">
|
|
|
|
<fileset dir="lib" includes="**/*.jar"/>
|
|
|
|
</path>
|
|
|
|
|
2011-12-30 16:24:08 +01:00
|
|
|
<target name="jdoc" depends="clean, javadoc" description="Main javadoc">
|
|
|
|
<echo>Building and Archiving the Javadocs</echo>
|
|
|
|
</target>
|
|
|
|
|
2011-11-23 20:31:36 +01:00
|
|
|
<target name="main" depends="clean, compile, compress, javadoc" description="Main target">
|
2011-06-29 02:18:20 +02:00
|
|
|
<echo>Building the .jar file.</echo>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="clean" description="Cleans project">
|
|
|
|
<echo>Cleaning</echo>
|
|
|
|
<delete failonerror="false">
|
|
|
|
<fileset dir="bin" includes="**/*" />
|
2011-06-30 01:11:03 +02:00
|
|
|
<fileset dir="javadoc" includes="**/*" />
|
2011-06-29 02:18:20 +02:00
|
|
|
</delete>
|
|
|
|
<delete file="Vault.jar" />
|
|
|
|
<mkdir dir="bin"/>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="compile" description="Compilation target">
|
|
|
|
<echo>Compiling</echo>
|
2011-07-26 22:40:27 +02:00
|
|
|
<javac srcdir="." destdir="bin" debug="on" debuglevel="lines,vars,source" classpathref="classpath" includeantruntime="false" />
|
2011-06-29 02:18:20 +02:00
|
|
|
<copy file="plugin.yml" tofile="bin/plugin.yml" />
|
2011-07-19 19:58:31 +02:00
|
|
|
<replace file="bin/plugin.yml" token="b000" value="b${env.BUILD_NUMBER}" />
|
2011-06-29 02:18:20 +02:00
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="compress" description="Compression target">
|
2011-07-19 15:40:40 +02:00
|
|
|
<echo>Compressing</echo>
|
2011-06-29 02:18:20 +02:00
|
|
|
<jar jarfile="Vault.jar" basedir="bin" includes="net/**/*, plugin.yml, props/*">
|
|
|
|
<manifest>
|
|
|
|
<attribute name="Built-By" value="${user.name}" />
|
|
|
|
</manifest>
|
|
|
|
</jar>
|
|
|
|
<delete dir="bin" />
|
|
|
|
</target>
|
2011-06-30 01:11:03 +02:00
|
|
|
|
|
|
|
<target name="javadoc" description="Generate JavaDoc">
|
2011-10-29 01:30:15 +02:00
|
|
|
<javadoc packagenames="net.milkbowl.vault.economy,net.milkbowl.vault.permission,net.milkbowl.vault.chat"
|
2011-07-19 15:40:40 +02:00
|
|
|
sourcepath="src"
|
2011-12-30 16:24:08 +01:00
|
|
|
destdir="/var/www/javadoc/vault"
|
2011-07-19 15:40:40 +02:00
|
|
|
access="public"
|
|
|
|
windowtitle="Vault"
|
|
|
|
verbose="false"
|
|
|
|
author="true"
|
|
|
|
version="true">
|
2011-06-30 01:11:03 +02:00
|
|
|
|
2011-07-19 15:40:40 +02:00
|
|
|
<classpath>
|
|
|
|
<fileset dir="lib" includes="**/*.jar"/>
|
|
|
|
</classpath>
|
|
|
|
<bottom>
|
|
|
|
<![CDATA[<b>MilkBukkit, 2011</b>]]>
|
|
|
|
</bottom>
|
|
|
|
</javadoc>
|
2011-06-30 01:11:03 +02:00
|
|
|
</target>
|
2011-06-29 02:18:20 +02:00
|
|
|
</project>
|