-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
executable file
·41 lines (40 loc) · 1.25 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
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?xml version="1.0" encoding="UTF-8"?>
<project name="tendiwa_backend">
<property file="build.properties"/>
<property environment="env"/>
<!--<property name="jar_file" value="tendiwa.jar"/>-->
<target name="jar" depends="compile">
<jar destfile="${jar_file}">
<fileset dir="bin/">
<exclude name="tests/**"/>
</fileset>
<fileset file="src/org/tendiwa/core/schema.xsd"/>
<manifest>
<attribute name="Main-Class" value="org.tendiwa.core.Tendiwa"/>
</manifest>
</jar>
</target>
<target name="compile">
<echo message="${user.dir}"/>
<mkdir dir="bin/"/>
<javac
destdir="bin"
includeantruntime="false"
srcdir="src"
excludes="tests"
debug="on"
debuglevel="lines,vars,source"
failonerror="yes"
>
<classpath>
<fileset dir="../libs">
<include name="**/*.jar"/>
</fileset>
</classpath>
</javac>
</target>
<target name="clean">
<delete dir="bin/"/>
<delete file="${jar_file}"/>
</target>
</project>