Added rounding code to getRow() as well and updated the tests accordingly.
[zxing.git] / javase / build.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!--
4  Copyright 2007 ZXing authors
5
6  Licensed under the Apache License, Version 2.0 (the "License");
7  you may not use this file except in compliance with the License.
8  You may obtain a copy of the License at
9
10       http://www.apache.org/licenses/LICENSE-2.0
11
12  Unless required by applicable law or agreed to in writing, software
13  distributed under the License is distributed on an "AS IS" BASIS,
14  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  See the License for the specific language governing permissions and
16  limitations under the License.
17 -->
18
19 <project name="javase" default="build">
20
21   <target name="init">
22     <tstamp/>
23     <fail message="Please build 'core' first">
24       <condition>
25         <not>
26           <available file="../core/core.jar" type="file"/>
27         </not>
28       </condition>
29     </fail>
30   </target>
31
32   <target name="build" depends="init">
33     <mkdir dir="build"/>
34     <javac srcdir="src"
35            destdir="build"
36            source="1.5"
37            target="1.5"
38            optimize="true"
39            debug="true"
40            deprecation="true">
41       <classpath>
42         <pathelement location="../core/core.jar"/>
43       </classpath>
44     </javac>
45     <jar jarfile="javase.jar" basedir="build"/>
46   </target>
47
48   <target name="clean">
49     <delete dir="build"/>
50     <delete file="javase.jar"/>
51   </target>
52
53 </project>