More fixes to the build files after trying to build the whole thing again for release
[zxing.git] / build.xml
index 6d98501..b043524 100644 (file)
--- a/build.xml
+++ b/build.xml
   <property file="build.properties"/>
 
   <target name="build">
-    <ant dir="bug" target="build"/>
     <ant dir="core" target="build"/>
     <ant dir="javame" target="build"/>
     <ant dir="javase" target="build"/>
+    <ant dir="bug" target="build"/>
     <ant dir="android" target="package"/>
-    <ant dir="javame" target="build-basic"/>
     <ant dir="rim" target="build"/>
     <ant dir="zxingorg" target="build"/>
   </target>
   </target>
 
   <target name="clean">
-    <ant dir="bug" target="clean"/>
     <ant dir="core" target="clean"/>
     <ant dir="javame" target="clean"/>
     <ant dir="javase" target="clean"/>
+    <ant dir="bug" target="clean"/>    
     <ant dir="android" target="clean"/>
     <ant dir="rim" target="clean"/>
     <ant dir="zxingorg" target="clean"/>
         <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/build.xml"/>
-        <include name="rim/src/**"/>
-        <include name="rim/res/**"/>
-        <include name="rim/BarcodeReader.jad.template"/>
+        <include name="rim/**"/>
         <include name="docs/**"/>
         <include name="zxingorg/**"/>
         <exclude name="zxingorg/secrets.properties"/>
         <pathelement location="${WTK-home}/lib/jsr234.jar"/>
         <pathelement location="${android-home}/android.jar"/>
         <pathelement location="${BB-JDK-home}/lib/net_rim_api.jar"/>
+        <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>
       </classpath>
     </javadoc>
   </target>