-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
39 lines (31 loc) · 754 Bytes
/
build.xml
File metadata and controls
39 lines (31 loc) · 754 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
33
34
35
36
37
38
39
<project name="fopserver" default="dist" basedir=".">
<description>
KvizBot
</description>
<property file="build.properties" />
<target name="init">
<tstamp/>
<mkdir dir="${build}"/>
</target>
<target name="compile" depends="init">
<javac srcdir="${src}" destdir="${build}">
<classpath>
<fileset dir="lib">
<include name="**.jar" />
</fileset>
</classpath>
</javac>
</target>
<target name="dist" depends="compile">
<mkdir dir="${dist}"/>
<jar jarfile="${dist}/KvizBot.jar" basedir="${build}">
<manifest>
<attribute name="Main-Class" value="nomi.kvizbot.KvizBot" />
</manifest>
</jar>
</target>
<target name="clean">
<delete dir="${build}"/>
<delete dir="${dist}"/>
</target>
</project>