zxing/build.xml
dswitkin 87c2c1acaa Put back the buildwithoutj2me target.
git-svn-id: https://zxing.googlecode.com/svn/trunk@119 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2007-12-17 18:59:03 +00:00

75 lines
2.3 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2007 Google Inc.
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"/>
</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"/>
</target>
<target name="test">
<ant dir="core" target="test"/>
</target>
<target name="release" depends="build,clean,javadoc">
<zip file="ZXing-${version}.zip" level="9">
<zipfileset dir="." prefix="zxing-${version}">
<include name="COPYING"/>
<include name="README"/>
<include name="CHANGES"/>
<include name="build.xml"/>
<include name="build.properties"/>
<include name="core/**"/>
<include name="javame/**"/>
<include name="javase/**"/>
<!-- Only include the build script for now -->
<include name="rim/build.xml"/>
<include name="docs/**"/>
<exclude name="*.iml"/>
</zipfileset>
</zip>
</target>
<target name="javadoc">
<mkdir dir="docs/javadoc"/>
<javadoc destdir="docs/javadoc" 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;">
<sourcepath>
<pathelement location="core/src"/>
<pathelement location="javame/src"/>
<pathelement location="javase/src"/>
</sourcepath>
</javadoc>
</target>
</project>