forked from ElgarL/Towny
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
46 lines (42 loc) · 2.02 KB
/
Copy pathbuild.xml
File metadata and controls
46 lines (42 loc) · 2.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?xml version="1.0" encoding="UTF-8"?>
<project name="Towny" default="jar" basedir=".">
<property name="build" value="bin"/>
<property file="build.properties"/>
<target name="clean">
<delete dir="${build}"/>
</target>
<target name="init" depends="clean">
<mkdir dir="${build}"/>
</target>
<target name="compile" depends="init">
<!-- Compile the java code -->
<javac srcdir="src" destdir="${build}" includeantruntime="false" target="1.6" source="1.6">
<classpath>
<pathelement location="${env.LIB}/bukkit.jar"/>
<pathelement location="${env.LIB}/bpermissions.jar"/>
<pathelement location="${env.LIB}/Essentials.jar"/>
<pathelement location="${env.LIB}/EssentialsGroupManager.jar"/>
<pathelement location="${env.LIB}/Permissions.jar"/>
<pathelement location="${env.LIB}/PermissionsEx.jar"/>
<pathelement location="${env.LIB}/PermissionsBukkit.jar"/>
<pathelement location="${env.LIB}/Register.jar"/>
<pathelement location="${env.LIB}/iConomy.jar"/>
<pathelement location="${env.LIB}/Questioner.jar"/>
<pathelement location="${env.LIB}/Vault.jar"/>
<pathelement location="${env.LIB}/citizensapi-2.0-SNAPSHOT.jar"/>
</classpath>
</javac>
</target>
<target name="jar" depends="compile">
<!-- Build the jar file -->
<jar basedir="${build}" destfile="${env.LIB}/Towny.jar">
<fileset dir="./src" includes="ChangeLog.txt"/>
<fileset dir="./src" includes="english.yml"/>
<fileset dir="./src" includes="german.yml"/>
<fileset dir="./src" includes="plugin.yml"/>
<fileset dir="./src" includes="spanish.yml"/>
<fileset dir="./src" includes="townyperms.yml"/>
<fileset dir="./src" includes="ToDo.txt"/>
</jar>
</target>
</project>