-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
24 lines (20 loc) · 926 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
<?xml version="1.0" encoding="UTF-8"?>
<project name="UVa Test" default="run">
<target name="run">
<property name="uva.num" value="124"/>
<!--input message="請輸入編號: " addproperty="uva.num"/-->
<echo>"${uva.num}" 執行結果</echo>
<java classpath="build" classname="volume1.OJ_${uva.num}" input="input/v1/in${uva.num}.txt"/>
<java classpath="build" classname="volume1.OJ_${uva.num}" input="input/v1/in${uva.num}.txt" output="R:\out${uva.num}.txt"/>
<echo>檢查 "${uva.num}" 的答案</echo>
<java classpath="build" classname="LineDiff">
<arg value="output/v1/out${uva.num}.txt"/>
<arg value="R:\out${uva.num}.txt"/>
</java>
</target>
<target name="hand">
<input message="請輸入題號: " addproperty="uva.num"/>
<echo>執行 ${uva.num}</echo>
<java classpath="build" classname="volume1.OJ_${uva.num}" input="input/v1/in${uva.num}.txt"/>
</target>
</project>