Issue 465, remove reference to libs/ as it is not used
[zxing.git] / rim / build.xml
index aee26c0..338ca6a 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
 <!--
- Copyright 2007 Google Inc.
+ 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.
         </not>
       </condition>
     </fail>
-    <fail message="Please build 'build-basic' in 'javame' first">
+    <fail message="Please build 'javame' first">
       <condition>
         <not>
-          <available file="../javame/javame-basic.jar" type="file"/>
+          <available file="../javame/javame.jar" type="file"/>
         </not>
       </condition>
     </fail>
            fork="true">
       <classpath>
         <pathelement location="../core/core.jar"/>
-        <pathelement location="../javame/javame-basic.jar"/>        
+        <pathelement location="../javame/javame.jar"/>
       </classpath>
     </javac>
 
     <unzip src="../core/core.jar" dest="build"/>
-    <unzip src="../javame/javame-basic.jar" dest="build"/>
+    <unzip src="../javame/javame.jar" dest="build"/>
 
     <mkdir dir="build-j2me"/>
     <exec executable="${WTK-home}/bin/preverify1.1" failonerror="true">
-      <arg line="-classpath ${rim-api-jar} -d build-j2me build"/>
+      <arg line="-classpath '${rim-api-jar}' -d build-j2me build"/>
     </exec>
 
     <copy todir="build-j2me">
         <filter token="VERSION" value="${version}"/>
       </filterset>
     </copy>
+    <copy file="BarcodeReader.alx.template" tofile="BarcodeReader.alx" overwrite="true">
+      <filterset>
+        <filter token="VERSION" value="${version}"/>
+      </filterset>
+    </copy>
 
     <jar jarfile="temp.jar" basedir="build-j2me"/>
     <java jar="${BB-JDK-home}/bin/rapc.jar" fork="true">