2007-11-14 07:27:06 -08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2007-11-28 09:19:36 -08:00
|
|
|
|
|
|
|
<!--
|
2008-06-24 12:57:41 -07:00
|
|
|
Copyright 2007 ZXing authors
|
2007-11-28 09:19:36 -08:00
|
|
|
|
|
|
|
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.
|
|
|
|
-->
|
|
|
|
|
2007-11-14 07:27:06 -08:00
|
|
|
<project name="ZXing" default="build">
|
|
|
|
|
2007-11-19 10:33:02 -08:00
|
|
|
<property file="build.properties"/>
|
|
|
|
|
2007-11-14 07:27:06 -08:00
|
|
|
<target name="build">
|
|
|
|
<ant dir="core" target="build"/>
|
|
|
|
<ant dir="javame" target="build"/>
|
|
|
|
<ant dir="javase" target="build"/>
|
2008-07-10 13:25:42 -07:00
|
|
|
<ant dir="bug" target="build"/>
|
2009-03-10 10:10:19 -07:00
|
|
|
<ant dir="android" target="debug-optimized"/>
|
|
|
|
<ant dir="androidtest" target="debug-optimized"/>
|
|
|
|
<ant dir="android-integration" target="build"/>
|
2008-02-15 07:15:57 -08:00
|
|
|
<ant dir="rim" target="build"/>
|
2008-06-24 12:57:41 -07:00
|
|
|
<ant dir="zxingorg" target="build"/>
|
2007-11-14 07:27:06 -08:00
|
|
|
</target>
|
2008-02-14 12:25:54 -08:00
|
|
|
|
|
|
|
<target name="buildwithoutj2me">
|
|
|
|
<ant dir="core" target="build"/>
|
|
|
|
<ant dir="javase" target="build"/>
|
|
|
|
</target>
|
2007-11-14 07:27:06 -08:00
|
|
|
|
2007-11-19 10:33:02 -08:00
|
|
|
<target name="clean">
|
|
|
|
<ant dir="core" target="clean"/>
|
|
|
|
<ant dir="javame" target="clean"/>
|
|
|
|
<ant dir="javase" target="clean"/>
|
2008-07-10 13:25:42 -07:00
|
|
|
<ant dir="bug" target="clean"/>
|
2008-02-14 13:06:57 -08:00
|
|
|
<ant dir="android" target="clean"/>
|
2008-10-29 13:13:05 -07:00
|
|
|
<ant dir="androidtest" target="clean"/>
|
2008-02-15 07:15:57 -08:00
|
|
|
<ant dir="rim" target="clean"/>
|
2008-06-24 12:57:41 -07:00
|
|
|
<ant dir="zxingorg" target="clean"/>
|
2008-03-28 10:04:48 -07:00
|
|
|
<delete dir="docs/javadoc"/>
|
2007-11-19 10:33:02 -08:00
|
|
|
</target>
|
|
|
|
|
2007-12-13 14:34:38 -08:00
|
|
|
<target name="test">
|
|
|
|
<ant dir="core" target="test"/>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="release" depends="build,clean,javadoc">
|
2008-06-18 10:40:14 -07:00
|
|
|
<zip file="ZXing-${version}.zip">
|
2007-11-28 09:11:57 -08:00
|
|
|
<zipfileset dir="." prefix="zxing-${version}">
|
2008-03-12 12:35:16 -07:00
|
|
|
<exclude name="**/.*"/> <!-- exclude hidden files -->
|
2008-06-24 12:57:41 -07:00
|
|
|
<include name="AUTHORS"/>
|
2007-11-28 09:11:57 -08:00
|
|
|
<include name="COPYING"/>
|
|
|
|
<include name="README"/>
|
|
|
|
<include name="CHANGES"/>
|
|
|
|
<include name="build.xml"/>
|
|
|
|
<include name="build.properties"/>
|
2008-02-14 13:06:57 -08:00
|
|
|
<include name="android/**"/>
|
2008-06-24 12:57:41 -07:00
|
|
|
<include name="bug/**"/>
|
|
|
|
<exclude name="bug/lib/com.buglabs*"/> <!-- Cannot distributed GPLed libraries -->
|
2007-11-28 09:11:57 -08:00
|
|
|
<include name="core/**"/>
|
2008-06-24 12:57:41 -07:00
|
|
|
<include name="cpp/**"/>
|
2008-07-10 13:25:42 -07:00
|
|
|
<include name="iphone/**"/>
|
2007-11-28 09:11:57 -08:00
|
|
|
<include name="javame/**"/>
|
|
|
|
<include name="javase/**"/>
|
2008-07-10 13:25:42 -07:00
|
|
|
<include name="rim/**"/>
|
2007-12-10 10:08:36 -08:00
|
|
|
<include name="docs/**"/>
|
2008-05-02 15:18:38 -07:00
|
|
|
<include name="zxingorg/**"/>
|
|
|
|
<exclude name="zxingorg/secrets.properties"/>
|
2007-11-28 09:11:57 -08:00
|
|
|
</zipfileset>
|
2007-11-19 10:33:02 -08:00
|
|
|
</zip>
|
|
|
|
</target>
|
|
|
|
|
2007-12-10 10:08:36 -08:00
|
|
|
<target name="javadoc">
|
|
|
|
<mkdir dir="docs/javadoc"/>
|
2008-02-14 12:25:54 -08:00
|
|
|
<javadoc destdir="docs/javadoc"
|
2008-12-10 06:26:24 -08:00
|
|
|
useexternalfile="true"
|
2008-05-05 11:05:00 -07:00
|
|
|
footer="<script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> var pageTracker = _gat._getTracker("UA-788492-5"); pageTracker._initData(); pageTracker._trackPageview(); </script>">
|
2007-12-10 10:08:36 -08:00
|
|
|
<sourcepath>
|
2008-02-14 13:06:57 -08:00
|
|
|
<pathelement location="android/src"/>
|
2008-06-24 12:57:41 -07:00
|
|
|
<pathelement location="bug/src"/>
|
2007-12-10 10:08:36 -08:00
|
|
|
<pathelement location="core/src"/>
|
|
|
|
<pathelement location="javame/src"/>
|
|
|
|
<pathelement location="javase/src"/>
|
2008-02-15 07:15:57 -08:00
|
|
|
<pathelement location="rim/src"/>
|
2008-06-24 12:57:41 -07:00
|
|
|
<pathelement location="zxingorg/src"/>
|
2007-12-10 10:08:36 -08:00
|
|
|
</sourcepath>
|
2008-02-05 13:56:03 -08:00
|
|
|
<classpath>
|
|
|
|
<pathelement location="${WTK-home}/lib/cldcapi11.jar"/>
|
|
|
|
<pathelement location="${WTK-home}/lib/midpapi20.jar"/>
|
|
|
|
<pathelement location="${WTK-home}/lib/mmapi.jar"/>
|
2008-02-14 12:25:54 -08:00
|
|
|
<pathelement location="${WTK-home}/lib/jsr234.jar"/>
|
2008-02-14 13:06:57 -08:00
|
|
|
<pathelement location="${android-home}/android.jar"/>
|
2008-02-15 07:15:57 -08:00
|
|
|
<pathelement location="${BB-JDK-home}/lib/net_rim_api.jar"/>
|
2008-07-10 13:25:42 -07:00
|
|
|
<pathelement location="${tomcat-home}/lib/servlet-api.jar"/>
|
|
|
|
<fileset dir="zxingorg/web/WEB-INF/lib">
|
|
|
|
<include name="*.jar"/>
|
|
|
|
</fileset>
|
|
|
|
<fileset dir="bug/lib">
|
|
|
|
<include name="*.jar"/>
|
|
|
|
</fileset>
|
2008-02-05 13:56:03 -08:00
|
|
|
</classpath>
|
2007-12-10 10:08:36 -08:00
|
|
|
</javadoc>
|
|
|
|
</target>
|
|
|
|
|
2007-11-14 07:27:06 -08:00
|
|
|
</project>
|