mirror of
https://github.com/MilkBowl/Vault.git
synced 2024-11-10 21:01:03 +01:00
54 lines
1.5 KiB
XML
54 lines
1.5 KiB
XML
<?xml version="1.0" ?>
|
|
<project default="main">
|
|
|
|
<path id="classpath">
|
|
<fileset dir="lib" includes="**/*.jar"/>
|
|
</path>
|
|
|
|
<target name="main" depends="clean, compile, compress, javadoc" description="Main target">
|
|
<echo>Building the .jar file.</echo>
|
|
</target>
|
|
|
|
<target name="clean" description="Cleans project">
|
|
<echo>Cleaning</echo>
|
|
<delete failonerror="false">
|
|
<fileset dir="bin" includes="**/*" />
|
|
<fileset dir="javadoc" includes="**/*" />
|
|
</delete>
|
|
<delete file="Vault.jar" />
|
|
<mkdir dir="bin"/>
|
|
</target>
|
|
|
|
<target name="compile" description="Compilation target">
|
|
<echo>Compiling</echo>
|
|
<javac srcdir="." destdir="bin" debug="on" debuglevel="lines,vars,source" classpathref="classpath" />
|
|
<copy file="plugin.yml" tofile="bin/plugin.yml" />
|
|
</target>
|
|
|
|
<target name="compress" description="Compression target">
|
|
<echo>Compressing</echo>
|
|
<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>
|
|
|
|
<target name="javadoc" description="Generate JavaDoc">
|
|
<javadoc packagenames="net.milkbowl.vault.economy,net.milkbowl.vault.permission"
|
|
sourcepath="src"
|
|
destdir="javadoc"
|
|
access="public"
|
|
windowtitle="Vault"
|
|
verbose="false"
|
|
author="true"
|
|
version="true">
|
|
|
|
<bottom>
|
|
<![CDATA[<b>MilkBukkit, 2011</b>]]>
|
|
</bottom>
|
|
</javadoc>
|
|
</target>
|
|
</project>
|