Fix a few more last minute typos
[zxing.git] / build.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!--
4  Copyright 2007 Google Inc.
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="ZXing" default="build">
20
21   <property file="build.properties"/>
22
23   <target name="build">
24     <ant dir="core" target="build"/>
25     <ant dir="javame" target="build"/>
26     <ant dir="javase" target="build"/>
27     <ant dir="android" target="package"/>
28   </target>
29
30   <target name="buildwithoutj2me">
31     <ant dir="core" target="build"/>
32     <ant dir="javase" target="build"/>
33   </target>
34
35   <target name="clean">
36     <ant dir="core" target="clean"/>
37     <ant dir="javame" target="clean"/>
38     <ant dir="javase" target="clean"/>
39     <ant dir="android" target="clean"/>
40   </target>
41
42   <target name="test">
43     <ant dir="core" target="test"/>
44   </target>
45
46   <target name="release" depends="build,clean,javadoc">
47     <zip file="ZXing-${version}.zip" level="9">
48       <zipfileset dir="." prefix="zxing-${version}">
49         <include name="COPYING"/>
50         <include name="README"/>
51         <include name="CHANGES"/>
52         <include name="build.xml"/>
53         <include name="build.properties"/>
54         <include name="android/**"/>
55         <include name="core/**"/>
56         <include name="javame/**"/>
57         <include name="javase/**"/>
58         <!-- Only include the build script for now -->
59         <include name="rim/build.xml"/>
60         <include name="docs/**"/>
61       </zipfileset>
62     </zip>
63   </target>
64
65   <target name="javadoc">
66     <mkdir dir="docs/javadoc"/>
67     <javadoc destdir="docs/javadoc"
68              footer="&lt;script src=&quot;http://www.google-analytics.com/urchin.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;_uacct = &quot;UA-788492-5&quot;; urchinTracker();&lt;/script&gt;">
69       <sourcepath>
70         <pathelement location="android/src"/>
71         <pathelement location="core/src"/>
72         <pathelement location="javame/src"/>
73         <pathelement location="javase/src"/>
74       </sourcepath>
75       <classpath>
76         <pathelement location="${WTK-home}/lib/cldcapi11.jar"/>
77         <pathelement location="${WTK-home}/lib/midpapi20.jar"/>
78         <pathelement location="${WTK-home}/lib/mmapi.jar"/>
79         <pathelement location="${WTK-home}/lib/jsr234.jar"/>
80         <pathelement location="${android-home}/android.jar"/>
81       </classpath>
82     </javadoc>
83   </target>
84
85 </project>