Include android in main build; add android clean target

git-svn-id: https://zxing.googlecode.com/svn/trunk@194 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
srowen 2008-02-14 21:06:57 +00:00
parent 23b984af30
commit e7cdb0ca25
2 changed files with 10 additions and 0 deletions

View file

@ -199,4 +199,9 @@ only when the assets dir exists. -->
<!-- Create the package file for this project from the sources. --> <!-- Create the package file for this project from the sources. -->
<target name="package" depends="package-dex"/> <target name="package" depends="package-dex"/>
<target name="clean">
<delete dir="${outdir}"/>
</target>
</project> </project>

View file

@ -24,6 +24,7 @@
<ant dir="core" target="build"/> <ant dir="core" target="build"/>
<ant dir="javame" target="build"/> <ant dir="javame" target="build"/>
<ant dir="javase" target="build"/> <ant dir="javase" target="build"/>
<ant dir="android" target="build"/>
</target> </target>
<target name="buildwithoutj2me"> <target name="buildwithoutj2me">
@ -35,6 +36,7 @@
<ant dir="core" target="clean"/> <ant dir="core" target="clean"/>
<ant dir="javame" target="clean"/> <ant dir="javame" target="clean"/>
<ant dir="javase" target="clean"/> <ant dir="javase" target="clean"/>
<ant dir="android" target="clean"/>
</target> </target>
<target name="test"> <target name="test">
@ -49,6 +51,7 @@
<include name="CHANGES"/> <include name="CHANGES"/>
<include name="build.xml"/> <include name="build.xml"/>
<include name="build.properties"/> <include name="build.properties"/>
<include name="android/**"/>
<include name="core/**"/> <include name="core/**"/>
<include name="javame/**"/> <include name="javame/**"/>
<include name="javase/**"/> <include name="javase/**"/>
@ -64,6 +67,7 @@
<javadoc destdir="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;"> 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> <sourcepath>
<pathelement location="android/src"/>
<pathelement location="core/src"/> <pathelement location="core/src"/>
<pathelement location="javame/src"/> <pathelement location="javame/src"/>
<pathelement location="javase/src"/> <pathelement location="javase/src"/>
@ -73,6 +77,7 @@
<pathelement location="${WTK-home}/lib/midpapi20.jar"/> <pathelement location="${WTK-home}/lib/midpapi20.jar"/>
<pathelement location="${WTK-home}/lib/mmapi.jar"/> <pathelement location="${WTK-home}/lib/mmapi.jar"/>
<pathelement location="${WTK-home}/lib/jsr234.jar"/> <pathelement location="${WTK-home}/lib/jsr234.jar"/>
<pathelement location="${android-home}/android.jar"/>
</classpath> </classpath>
</javadoc> </javadoc>
</target> </target>