forked from HTTP-RPC/Kilo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
43 lines (31 loc) · 1.34 KB
/
build.xml
File metadata and controls
43 lines (31 loc) · 1.34 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
<?xml version="1.0" encoding="UTF-8"?>
<project name="httprpc-server-test" default="build">
<property file="build.properties"/>
<property name="src" value="src"/>
<property name="lib" value="lib"/>
<property name="bin" value="bin"/>
<property name="warfile" value="${ant.project.name}.war"/>
<target name="build">
<ant dir="../httprpc-server" target="build" inheritAll="false"/>
<echo message="Building ${title}..."/>
<delete dir="${bin}"/>
<mkdir dir="${bin}"/>
<javac srcDir="${src}" destDir="${bin}"
includejavaruntime="true" includeantruntime="true"
encoding="UTF-8" deprecation="true" debug="true"
failonerror="true">
<classpath>
<fileset dir="../httprpc-server" includes="*.jar"/>
</classpath>
<compilerarg value="-parameters"/>
</javac>
<delete dir="." includes="${warfile}"/>
<war destfile="${warfile}" webxml="web.xml">
<fileset dir="web"/>
<classes dir="${bin}"/>
<classes dir="${src}" excludes="**/*.java"/>
<lib dir="../httprpc-server" includes="*.jar"/>
<lib dir="${lib}" includes="*.jar"/>
</war>
</target>
</project>