mirror of
https://github.com/zxing/zxing.git
synced 2024-11-10 04:54:04 -08:00
3949f6920f
git-svn-id: https://zxing.googlecode.com/svn/trunk@1130 59b500cc-1b3d-0410-9834-0bbf25fbcc57
108 lines
4.1 KiB
XML
108 lines
4.1 KiB
XML
<?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="build">
|
|
|
|
<property file="build.properties"/>
|
|
|
|
<target name="build">
|
|
<ant dir="core" target="build"/>
|
|
<ant dir="javame" target="build"/>
|
|
<ant dir="javase" target="build"/>
|
|
<ant dir="android" target="compile"/>
|
|
<ant dir="androidtest" target="compile"/>
|
|
<ant dir="android-integration" target="build"/>
|
|
<ant dir="zxingorg" target="build"/>
|
|
</target>
|
|
|
|
<target name="buildwithoutj2me">
|
|
<ant dir="core" target="build"/>
|
|
<ant dir="javase" target="build"/>
|
|
</target>
|
|
|
|
<target name="clean">
|
|
<ant dir="core" target="clean"/>
|
|
<ant dir="javame" target="clean"/>
|
|
<ant dir="javase" target="clean"/>
|
|
<ant dir="android" target="clean"/>
|
|
<ant dir="androidtest" target="clean"/>
|
|
<ant dir="zxingorg" target="clean"/>
|
|
<delete dir="docs/javadoc"/>
|
|
</target>
|
|
|
|
<target name="test">
|
|
<ant dir="core" target="test"/>
|
|
</target>
|
|
|
|
<target name="release" depends="build,clean,javadoc">
|
|
<zip file="ZXing-${version}.zip">
|
|
<zipfileset dir="." prefix="zxing-${version}">
|
|
<exclude name="**/.*"/> <!-- exclude hidden files -->
|
|
<include name="AUTHORS"/>
|
|
<include name="COPYING"/>
|
|
<include name="README"/>
|
|
<include name="CHANGES"/>
|
|
<include name="build.xml"/>
|
|
<include name="build.properties"/>
|
|
<include name="android/**"/>
|
|
<include name="android-integration/**"/>
|
|
<include name="androidtest/**"/>
|
|
<include name="bug/**"/>
|
|
<exclude name="bug/lib/com.buglabs*"/> <!-- Cannot distributed GPLed libraries -->
|
|
<include name="core/**"/>
|
|
<include name="cpp/**"/>
|
|
<include name="iphone/**"/>
|
|
<include name="javame/**"/>
|
|
<include name="javase/**"/>
|
|
<include name="rim/**"/>
|
|
<include name="docs/**"/>
|
|
<include name="zxingorg/**"/>
|
|
<exclude name="zxingorg/secrets.properties"/>
|
|
</zipfileset>
|
|
</zip>
|
|
</target>
|
|
|
|
<target name="javadoc">
|
|
<mkdir dir="docs/javadoc"/>
|
|
<javadoc destdir="docs/javadoc"
|
|
useexternalfile="true"
|
|
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>">
|
|
<sourcepath>
|
|
<pathelement location="android/src"/>
|
|
<pathelement location="android/gen"/>
|
|
<pathelement location="core/src"/>
|
|
<pathelement location="javame/src"/>
|
|
<pathelement location="javase/src"/>
|
|
<pathelement location="zxingorg/src"/>
|
|
</sourcepath>
|
|
<classpath>
|
|
<pathelement location="${WTK-home}/lib/cldcapi11.jar"/>
|
|
<pathelement location="${WTK-home}/lib/midpapi20.jar"/>
|
|
<pathelement location="${WTK-home}/lib/mmapi.jar"/>
|
|
<pathelement location="${WTK-home}/lib/jsr234.jar"/>
|
|
<pathelement location="${android-home}/platforms/android-1.5/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>
|