Checks that dependencies are built now and produces an appropriate warning message.
authorsrowen <srowen@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Wed, 30 Jan 2008 16:12:56 +0000 (16:12 +0000)
committersrowen <srowen@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Wed, 30 Jan 2008 16:12:56 +0000 (16:12 +0000)
git-svn-id: http://zxing.googlecode.com/svn/trunk@155 59b500cc-1b3d-0410-9834-0bbf25fbcc57

javame/build.xml
javase/build.xml
rim/build.xml

index 2271912..47857ae 100644 (file)
           <available file="${WTK-home}/bin/proguard.jar" type="file"/>
         </not>
       </condition>
+    </fail>
+         <fail message="Please build 'core' first">
+      <condition>
+        <not>
+          <available file="../core/core.jar" type="file"/>
+        </not>
+      </condition>
     </fail>
   </target>
 
index 163b7da..2ecdde3 100644 (file)
 
   <target name="init">
     <tstamp/>
+         <fail message="Please build 'core' first">
+      <condition>
+        <not>
+          <available file="../core/core.jar" type="file"/>
+        </not>
+      </condition>
+    </fail>
   </target>
 
   <target name="build" depends="init">
index a7a202a..87c1610 100644 (file)
           <available file="${BB-JDK-home}" type="dir"/>
         </not>
       </condition>
+    </fail>
+         <fail message="Please build target 'build-basic' in 'javame' first">
+      <condition>
+        <not>
+          <available file="../javame/ZXingReaderBasic.jar" type="file"/>
+        </not>
+      </condition>
     </fail>
   </target>