forked from LogBlock/LogBlock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
22 lines (22 loc) · 1.42 KB
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?xml version="1.0" ?>
<project default="logblock">
<target name="logblock">
<mkdir dir="lib/"/>
<mkdir dir="bin/"/>
<get src="http://dl.bukkit.org/latest-rb/bukkit.jar" dest="lib/bukkit.jar"/>
<get src="http://dl.bukkit.org/latest-rb/craftbukkit.jar" dest="lib/craftbukkit.jar"/>
<get src="http://www.theyeticave.net/downloads/permissions/3.1.6/Permissions.jar" dest="lib/Permissions.jar"/>
<get src="http://cloud.github.com/downloads/sk89q/worldedit/worldedit-4.6.zip" dest="WorldEdit.zip"/>
<unzip src="WorldEdit.zip" dest="lib/"><patternset><include name="WorldEdit.jar"/></patternset></unzip>
<delete file="WorldEdit.zip"/>
<get src="http://diddiz.insane-architects.net/SpoutAPI.jar" dest="lib/SpoutAPI.jar" ignoreerrors="true"/>
<get src="http://cloud.github.com/downloads/DiddiZ/LogBlockQuestioner/LogBlockQuestioner%20v0.02.zip" dest="LogBlockQuestioner.zip"/>
<unzip src="LogBlockQuestioner.zip" dest="lib/"><patternset><include name="LogBlockQuestioner.jar"/></patternset></unzip>
<delete file="LogBlockQuestioner.zip"/>
<javac srcdir="src/" destdir="bin/" classpath="lib/bukkit.jar;lib/craftbukkit.jar;lib/Permissions.jar;lib/WorldEdit.jar;lib/SpoutAPI.jar;lib/LogBlockQuestioner.jar" debug="true" debuglevel="lines,source" includeantruntime="false"/>
<jar destfile="LogBlock.jar" manifest="MANIFEST.MF">
<fileset dir="bin/"/>
<fileset file="src/plugin.yml"/>
</jar>
</target>
</project>