-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
32 lines (26 loc) · 867 Bytes
/
build.xml
File metadata and controls
32 lines (26 loc) · 867 Bytes
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
<project name="RandomSpawn" default="dist" basedir=".">
<property name="pluginname" value="RandomSpawn"/>
<property name="bukkit.jar" location="../../TestServer/spigot.jar"/>
<property name="plugins" location="../../TestServer/plugins/"/>
<property name="src" location="src/main/java"/>
<property name="bin" location="target/classes"/>
<property name="dist" location="target"/>
<target name="init">
<mkdir dir="${bin}"/>
</target>
<target name="compile" depends="init">
</target>
<target name="dist" depends="compile">
<mkdir dir="${dist}"/>
<jar jarfile="${dist}/${pluginname}.jar">
<fileset dir="${bin}"/>
</jar>
</target>
<target name="deploy" depends="dist">
<copy file="${dist}/${pluginname}.jar" todir="${plugins}"/>
</target>
<target name="clean">
<delete dir="${bin}"/>
<delete dir="${dist}"/>
</target>
</project>