forked from zxing/zxing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
87 lines (78 loc) · 3.13 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2007 ZXing authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<project name="ZXing" default="release">
<property file="build.properties"/>
<target name="release" depends="javadoc">
<zip file="ZXing-${version}.zip">
<zipfileset dir="." prefix="zxing-${version}">
<exclude name="**/.*"/> <!-- exclude hidden files -->
<exclude name="**/.svn"/>
<exclude name="**/*.iml"/>
<include name="AUTHORS"/>
<include name="CHANGES"/>
<include name="COPYING"/>
<include name="NOTICE"/>
<include name="build.xml"/>
<include name="build.properties"/>
<include name="docs/**"/>
<include name="actionscript/**"/>
<include name="android/**"/>
<include name="android-integration/**"/>
<include name="androidtest/**"/>
<include name="core/**"/>
<include name="cpp/**"/>
<include name="csharp/**"/>
<include name="iphone/**"/>
<include name="javase/**"/>
<include name="jruby/**"/>
<include name="objc/**"/>
<include name="symbian/**"/>
<include name="zxing.appspot.com/**"/>
<include name="zxingorg/**"/>
</zipfileset>
</zip>
</target>
<target name="javadoc">
<delete dir="docs/javadoc"/>
<mkdir dir="docs/javadoc"/>
<javadoc failonerror="true"
destdir="docs/javadoc"
footer="
<script type="text/javascript">;
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-788492-5']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>">
<sourcepath>
<pathelement location="android/src"/>
<pathelement location="android/gen"/>
<pathelement location="core/src"/>
<pathelement location="javase/src"/>
<pathelement location="zxingorg/src"/>
</sourcepath>
<classpath>
<pathelement location="${android-home}/platforms/android-15/android.jar"/>
<pathelement location="${tomcat-home}/lib/servlet-api.jar"/>
<fileset dir="zxingorg/web/WEB-INF/lib">
<include name="*.jar"/>
</fileset>
</classpath>
</javadoc>
</target>
</project>