-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.xml
37 lines (29 loc) · 913 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
25
26
27
28
29
30
31
32
33
34
35
36
37
<?xml version="1.0" encoding="UTF-8"?>
<project name="sockets" default="all">
<property file="build.properties"/>
<patternset id="ignored.files">
<exclude name="**/.git/**"/>
</patternset>
<property name="output.dir" value="${basedir}/classes"/>
<target name="compile">
<mkdir dir="${output.dir}"/>
<javac destdir="${output.dir}" fork="true"
includeantruntime="false">
<src path="src"/>
<patternset refid="ignored.files"/>
</javac>
</target>
<target name="clean">
<delete dir="${output.dir}" />
</target>
<target name="run" depends="compile">
<java classpath="${output.dir}"
classname="example.Main"
fork="true">
<arg value="${server.port}"/>
<arg value="${server.timeout}"/>
<arg value="${server.socketHandlerFactory}"/>
</java>
</target>
<target name="all" depends="clean, run"/>
</project>