forked from Shevchik/AutoSaveWorld
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
24 lines (21 loc) · 777 Bytes
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<project name="AutoSaveWorld" default="build" basedir=".">
<path id="libs">
<fileset dir="libs" includes="**/*.jar" />
</path>
<target name="build">
<mkdir dir="build/classes" />
<javac source="1.7" target="1.7" encoding="UTF-8" srcdir="src" destdir="build/classes" classpathref="libs" debug="on" />
<copy todir="build/classes">
<fileset file="src/plugin.yml" />
<fileset file="LICENSE" />
</copy>
<mkdir dir="build/classes/autosaveworld/config/localefiles" />
<copy todir="build/classes/autosaveworld/config/localefiles">
<fileset dir="src/autosaveworld/config/localefiles">
<filename name="**/*.yml"/>
</fileset>
</copy>
<jar destfile="target/AutoSaveWorld.jar" basedir="build/classes" />
<delete dir="build" />
</target>
</project>