Made Barcode Scanner builds runs clean first to prevent stale resources and build...
authordswitkin <dswitkin@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Sun, 10 Jan 2010 14:57:24 +0000 (14:57 +0000)
committerdswitkin <dswitkin@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Sun, 10 Jan 2010 14:57:24 +0000 (14:57 +0000)
git-svn-id: http://zxing.googlecode.com/svn/trunk@1183 59b500cc-1b3d-0410-9834-0bbf25fbcc57

android/build.xml

index 24f0f1e..6a03153 100644 (file)
@@ -130,8 +130,9 @@ limitations under the License.
 
   <!-- rules -->
 
-  <!-- Create the output directories if they don't exist yet. -->
-  <target name="dirs">
+  <!-- Create the output directories if they don't exist yet. All builds do a clean first
+  to prevent stale resources and to make ProGuard happy. -->
+  <target name="dirs" depends="clean">
     <echo>Creating output directories if needed...</echo>
     <mkdir dir="${resource-folder}" />
     <mkdir dir="${external-libs-folder}" />